I have a very simply matlab code. When I try go run it, I get no graph and switching over to the matlab command line, I see:(adsbygoogle = window.adsbygoogle || []).push({});

ans =

char

Here is the code:

It looks just fine to me.Code (Text):

t = linspace(0,60);

v = 3.22;

for q_0 = [0:1:2007];

q = q_0*exp(v*t);

plot(t,q)

hold on

end

Any feedback would be great.

**Physics Forums | Science Articles, Homework Help, Discussion**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Whats wrong with this matlab code?

Loading...

Similar Threads for Whats wrong matlab |
---|

MATLAB MATLAB: forces acting on an object |

MATLAB Matlab histogram |

MATLAB Sovling Bernoulli's differential equation in matlab? |

MATLAB Matlab-like software |

MATLAB Matlab data into bins |

**Physics Forums | Science Articles, Homework Help, Discussion**