Create a 100 element vector for x

11 views (last 30 days)
  2 Comments
Neel Raval
Neel Raval on 9 Oct 2021
How would we input the equation in matlab using the ranges?
Neel Raval
Neel Raval on 9 Oct 2021
Also, how would you go on to plot the 2 equations. (Can they both be plotted in a single graph? or do they need to be seperate?)

Sign in to comment.

Accepted Answer

Walter Roberson
Walter Roberson on 7 Oct 2021
x = linspace(0, L/2, 100);
  2 Comments
Neel Raval
Neel Raval on 9 Oct 2021
How would we input the equation in matlab using the ranges?
Neel Raval
Neel Raval on 9 Oct 2021
Also, how would you go on to plot the 2 equations. (Can they both be plotted in a single graph? or do they need to be seperate?)

Sign in to comment.

More Answers (0)

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!