Community Profile

photo

Stephanie Mendoza


Last seen: 3 mois il y a Actif depuis 2022

Statistics

  • Thankful Level 2

Afficher les badges

Content Feed

Afficher par

Question


Can someone help with error "index exceeds number of array elements"? I attached image as to what it needs to look like..
a = 1.5; b = 4.2;%lower and upper bounds f = @(x) 2*x.^5 -x.^4 + 0.7*x.^3 - 2*x + 13; syms x fx = 2*x.^5 - (x.^4) + 0.7*x.^3...

4 mois il y a | 2 réponses | 0

2

réponses

Question


Having issues with fprintf statement. It gives me "error using vertcat"
clear clc a = 1.5; b = 4.2;%lower and upper bounds f = @(x) 2*x.^5 -x.^4 + 0.7*x.^3 - 2*x + 13; I_exact = integral (f,a,b...

4 mois il y a | 1 réponse | 0

1

réponse

Question


Graph gives warning : function behaves unexpectedly on array inputs. What does this mean?
%plot to view graph g =@(x) 3*x^3 +x^2 -2*x - 5; figure(2) o = -40:40; fplot(g,[-40 40])

4 mois il y a | 1 réponse | 0

1

réponse

Question


Printing out proper equation statement using fprintf.
I need the following equation (fa(s)) to print out in this format. fa(s) =x.xxxx x^2 . Right now it is only printing out only t...

5 mois il y a | 1 réponse | 0

1

réponse