MATLAB Answers

How would you evaluate this ?

1 view (last 30 days)
Nicholas Deosaran
Nicholas Deosaran on 15 Sep 2020
Answered: David Hill on 15 Sep 2020
Hello good day,
I have this code, but its only give me one answer. I need it to do it for all numbers of x from 0-100 with increments of 0.2
x = 0:0.25:100; % variable x that goes from 0 to 100 in increments of 0.25
b = (3*x-4)/(x.^2) % evlauting the function from 0 to 100 with increments of 0.25
Thank you

  0 Comments

Sign in to comment.

Answers (1)

David Hill
David Hill on 15 Sep 2020
b = (3*x-4)./(x.^2);%need ./

  0 Comments

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!