photo

Pablo Zarco


Last seen: 3年以上 前 2021 年からアクティブ

Followers: 0   Following: 0

統計

  • Thankful Level 2
  • Thankful Level 1

バッジを表示

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

1

回答