Hi guys, so i've never used matlab before, and i need to make a plot that changes constantly.(adsbygoogle = window.adsbygoogle || []).push({});

Let's say that i have Sin(x) from 0 to 3pi

Then i need it to change to a Cos(x) from 0 to 3pi

then to a Tan(x).

I could do it in other languaje like Php or c, but in matlab i have no idea. I think it can be made with a for cycle nested inside of another for cycle.

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

Dismiss Notice

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!

# How to do a dynamic graph in matlab

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