How would you evaluate this ?

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

回答 (1 件)

David Hill
David Hill 2020 年 9 月 15 日

0 投票

b = (3*x-4)./(x.^2);%need ./

この質問は閉じられています。

タグ

質問済み:

2020 年 9 月 15 日

閉鎖済み:

2021 年 8 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by