Community Profile

photo

Nicholas


Active since 2013

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Question


4th order Runge Kutta for a system of ODEs
I have a matlab code that i found in my textbook to implement 4th order Runge Kutta for a system of ODEs but I am know sure how ...

10 years ago | 0 answers | 0

0

answers

Question


using syms x to create an equation Y(x), then letting x be a vector to plot, x vs Y
using syms x I have created an equation Y = (x/20 - 2)*(x/40 - 1) - (x/20 - 1)^2 + x^2/800 I would now like to set x = to...

10 years ago | 1 answer | 0

1

answer

Question


calling all the elements of a matrix consecutively
I need to call every element of a vector consecutively except the 'i' element I'm on. for example if i am using two for loops an...

10 years ago | 1 answer | 0

1

answer

Question


how to store your outputs of your step response?
A = [0 0 1 0;0 0 0 1;-24 9 -3 0;4.5 -4.5 0 0]; B=[0 0;0 0;12 4;0 3.5]; C = [0 0 1 0;0 0 -3 0]; D = [0 0;0 0]; step(A,B,C,D...

10 years ago | 1 answer | 0

1

answer

Question


Doing back sunstitution for Gauss Elimination
I have Anew=[2 1 -1;0 2.5 -1.5;0 0 2.4] and bnew=[0;-3;4.8] using back substitution only i need to find my x1, x2 and x3 val...

10 years ago | 1 answer | 0

1

answer

Question


malipulating matrices...Cramers Rule help
i have a matrix A = [1 3 -8;4 -5 19] and i have b = A(:,3), which gives b = [-8;19] for cramers rule i now need to replace...

10 years ago | 1 answer | 0

1

answer

Question


input a string into a vector when n=odd number
clear clc for n=0:20 end x=[0:n]' I need to have the word 'jump' replace every odd number in my vector exampl...

10 years ago | 2 answers | 0

2

answers

Question


defining a variable in matlab
V = ((pi*h^2)/3)*((3*r)-h) plot(h,V) ??? Undefined function or variable 'h'. Error in ==> p5_22 at 6 V = ((pi...

10 years ago | 2 answers | 0

2

answers

Question


stopping matlab from re-formating my numbers!!!
>> x = 110.01001 x = 110.0100 >> z = num2str(x) z = 110.01 >> w = z-'0' w = 1 1 0 -2 ...

10 years ago | 3 answers | 0

3

answers