photo

Da'Moon


Aktiv seit 2017

Followers: 0   Following: 0

Statistik

  • Thankful Level 2
  • Thankful Level 1

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


im tryng to solve it with the solver [t y] =ode45(@problem1,[0 50],[0 30]) but is not working
function [xprimes]=problem1(t,x) m= .25; C=.03; g=9.800665; xprimes=[ x(3); y(3);-((C*x(2))/m)*(sqrt(x(2)^2+y(2)^2)); -g-(...

mehr als 5 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


how can i make a function file that will request the user if he will like to start the code execution? i would like to use inputs
clc clear all %Assign variables to constants V1=.3; V2=.3; E1=200*10^9; E2=200*10^9; d1=38; d2=70; L=50; ...

fast 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How can i make a decicion in order to make my program run after it
v=input('Would you like to run your programm?'); if v==yes end % my loop that should run after the user put yes or no...

fast 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Allocating values in 1d matrix
B = p * ones(327,245,2, uint8); can i do it with a loop?

fast 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


if any a can be index?
A(n)=1;

fast 7 Jahre vor | 1 Antwort | 0

1

Antwort