HI,(adsbygoogle = window.adsbygoogle || []).push({});

i have a set of data that i want to plot with matlab, using an equation.

i have all x data points and want to generate y values for each x data point.

function y =marko(x)

y= (4.11/1.98)*{(1/4*((1-x/L).^2))-(1/4)-(x/L)};

x=(218+data points)

from the command window i have called:

y=marko(x);

i keep getting an error in marco (line4)

can someone help me figure out what i am doing wrong here.

**Physics Forums - The Fusion of Science and Community**

# Plotting a model in matlab

Have something to add?

- Similar discussions for: Plotting a model in matlab

Loading...

**Physics Forums - The Fusion of Science and Community**