Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

How would you evaluate this ?

1 vue (au cours des 30 derniers jours)
Nicholas Deosaran
Nicholas Deosaran le 15 Sep 2020
Clôturé : MATLAB Answer Bot le 20 Août 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

Réponses (1)

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

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by