photo

TLove


Last seen: fast 2 Jahre vor Aktiv seit 2022

Followers: 0   Following: 0

Statistik

Feeds

Anzeigen nach

Frage


Vertcat, I think I need to have consistent rows and columns, erroring out on B matrix creation. Can anyone show me how to make this correct?
clear all a=3; b=13; c=0; rG2a=a/2; rG3a=b/2; omega2=2000*2*pi/60; %rad/s alpha2=0; W2=1; W3=.5; W4=.2; I2=.002; I3=...

fast 2 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


Why am I only receiving one value for theta3 and alpha3, do I need to use a "for" loop instead?
theta2=linspace(0,360); force=zeros(size(theta2)); force (theta2>=0 & theta2<180)=100; force(theta2>=180 & theta2<=360)=-2000...

fast 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to set a force equal to one value over a range of theta and another value for the other range of theta?
for i=1:1:length(theta2) if (0<=i && i<180) F=[100,0]; elseif (180<=i && i<=360) F=[-2000,0]; ...

fast 2 Jahre vor | 1 Antwort | 0

1

Antwort