Feeds
질문
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 ...
거의 11년 전 | 답변 수: 0 | 0
0
답변질문
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...
대략 11년 전 | 답변 수: 1 | 0
1
답변질문
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...
대략 11년 전 | 답변 수: 1 | 0
1
답변질문
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...
대략 11년 전 | 답변 수: 1 | 0
1
답변질문
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...
대략 11년 전 | 답변 수: 1 | 0
1
답변질문
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...
대략 11년 전 | 답변 수: 1 | 0
1
답변질문
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...
대략 11년 전 | 답변 수: 2 | 0
2
답변질문
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...
대략 11년 전 | 답변 수: 2 | 0
2
답변질문
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 ...
대략 11년 전 | 답변 수: 3 | 0