Community Profile

photo

Pablo Zarco


Last seen: más de 2 años hace Con actividad desde 2021

Estadísticas

  • Thankful Level 2
  • Thankful Level 1

Ver insignias

Content Feed

Ver por

Pregunta


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

más de 2 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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

alrededor de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 3 años hace | 1 respuesta | 0

1

respuesta