This question is closed. Reopen it to edit or answer.

How would you evaluate this ?

1 view (last 30 days)
Nicholas Deosaran
Nicholas Deosaran on 15 Sep 2020
Closed: MATLAB Answer Bot on 20 Aug 2021
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

Answers (1)

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

Community Treasure Hunt

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

Start Hunting!