Community Profile

photo

Stephanie Mendoza


Last seen: 6 Monate vor Aktiv seit 2022

Followers: 0   Following: 0

Statistiken

  • Thankful Level 2

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


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...

mehr als ein Jahr vor | 2 Antworten | 0

2

Antworten

Frage


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...

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


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])

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


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...

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort