Pablo Zarco
Followers: 0 Following: 0
Feeds
질문
How can i simplify this
If (a(i)>0)&&(a(i-1)==0)&&(a(i-2)==0)&&(a(i-3)==0)&&(a(i-4)==0)&&(a(i-5)==0)&&(a(i-6)==0)...until a(i-32)==0
3년 초과 전 | 답변 수: 2 | 0
2
답변질문
I want to know the value of x for each value of V
V=[2,4,5,6,7] for i=1:numel(V) x(i)=(2+4*7+8-9*6+x(i))/(3+4*6*V(i)+3*x(i)) end
거의 4년 전 | 답변 수: 1 | 0
1
답변질문
why is this program keep telling me this error: Unable to perform assignment because the left and right sides have a different number of elements.
clear;clc; V=[1 2 3 4]; A=3; %preallocation C=zeros(1,numel(V)); xSol=zeros(1,numel(V)); ySol=zeros(1,numel(V)); for i=1:...
거의 4년 전 | 답변 수: 1 | 0
1
답변질문
How can I save and plot all values of x and y for each value of C? x and y values are in the vertical axis and C in the horizontal axis in the graphic. I need to use the function "solve"
V=[1,2,3,4]; A=3; i=1; while i<=4 C=A*V(i); syms x y eqn1 = C*x + y == 2; eqn2 = -x + y == 3; sol = solve([eqn1, eqn...
거의 4년 전 | 답변 수: 1 | 0
1
답변질문
How can I save and plot all values of x and y for each value of V? x and y values are in the vertical axis and V in the horizontal axis in the graphic
V=[1,2,3,4]; i=1; while i<=4 syms x y eqn1 = V(i)*x + y == 2; eqn2 = -x + y == 3; sol = solve([eqn1, eqn2], [x, y]); ...
거의 4년 전 | 답변 수: 1 | 0