photo

Douglas Alves


2014년부터 활동

Followers: 0   Following: 0

메시지

통계

MATLAB Answers

26 질문
2 답변

순위
230,458
of 300,771

평판
0

참여
26 질문
2 답변

답변 채택
69.23%

획득한 표
0

순위
 of 21,084

평판
N/A

평균 평점
0.00

참여
0 파일

다운로드 수
0

ALL TIME 다운로드 수
0

순위
160,871
of 170,969

참여
0 문제
0 답안

점수
0

배지 수
0

참여
0 게시물

참여
0 공개 채널

평균 평점

참여
0 하이라이트

평균 좋아요 수

  • Thankful Level 3
  • First Answer

배지 보기

Feeds

보기 기준

질문


Simple Orbit problem Sun and Jupiter
Hello, I'm trying to plot an orbit with the Sun and Jupiter only. I assumed circular orbit and all the simplicity posible s...

8년 초과 전 | 답변 수: 0 | 0

0

답변

질문


orbit equation with ode45
Hi, I am trying to solve an equation with ode45 but it does not actually give me what it's expect to. The equation is the clas...

대략 11년 전 | 답변 수: 1 | 0

1

답변

질문


Plotting a simple orbit
Hi, I am having a little trouble setting up a simple orbit code so I could plot the orbit. Could anyone see my code? I have al...

대략 11년 전 | 답변 수: 0 | 0

0

답변

질문


Using try/catch to get warning message
What o I have to do in order to get rid of the message in ode45 line 309 (error tolerance message). I use try and then I put th...

11년 초과 전 | 답변 수: 2 | 0

2

답변

질문


fminsearch. How does the first variable works?
[IC,SurfaceValues,exitFlag]=fminsearch(@integratePlanetODEs,IC,[],extPar); This is a line of a code and IC could supposedly v...

11년 초과 전 | 답변 수: 0 | 0

0

답변

질문


Could you guys explain me how to get a value back in a case like this...?
I Have a line in a program P0=fzero(@(P0) estimateSurfacePressure(P0,false,extPar), [1 25]); and inside es...

11년 초과 전 | 답변 수: 1 | 0

1

답변

답변 있음
Could anyone explain me what a line like this works?
I'm 100% sure that was my doubt. I was thinking about it. Maybe the problem was different workspaces and iquality in the variabl...

11년 초과 전 | 0

질문


Could anyone explain me what a line like this works?
I've got 2 files the first file with a line (1) calls the file (2). (1) P0=fzero(@(P0) estimateSurfacePressure(P0,false,extP...

11년 초과 전 | 답변 수: 2 | 0

2

답변

질문


What's the purpose of putting 'pause(0)' when you have a large code?
I've seen some codes which is actually sometimes called by other codes and then I see some 'pause(0)'. pause makes the code to s...

11년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Argument 'range' for ode45
I have just found out that ode45(@fun,tspin,x) can have instead of tspin = [value1 value2]. tspin could be a linspace(a,b,c) whe...

11년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Doubt regarding the fzero command.
Hi guys, What does it mean when we write in a code P0 = fzero (@somefunction, [1, 25]). Does it mean search for an answer in ...

11년 초과 전 | 답변 수: 1 | 0

1

답변

질문


"@" inside fzero command. I get an erro why?
I've got 2 .m files. The line which calls the second file is [f1 q] = fzero(@avaliator,const.guessf1,const) it'll ...

11년 초과 전 | 답변 수: 1 | 0

1

답변

질문


How does MATLAB work when I have a structure and 'options' being set from inside and odesolver?
Suppose I have a structure k with these elements range, init and options. I noticed that since I put k inside ode45 I have an er...

11년 초과 전 | 답변 수: 0 | 0

0

답변

질문


How do I delete an element from a structure?
I have this k.range = [-pi/4 pi/2] ; k.init = sqrt(2)/2 ; k.options = odeset('Events',@mystopper); suppose I ...

11년 초과 전 | 답변 수: 1 | 0

1

답변

질문


command path and pathdef
I'm trying to understand a code and there's the first line of it. Could anyone explain me what exactly this works ? The code is ...

11년 초과 전 | 답변 수: 2 | 0

2

답변

질문


Problem with function @(t) [ (1/2)*a*t.^2]
function eulers_for_mv a = .5 ; t = linspace(0,2) ; dt = t(2) - t(1) ; x = zeros(1,length(t)); v = zeros(1,l...

11년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Why summing a matrix in 2 different ways can give not the same numbers ??? Does anyone know?
I had a big problem with a code because of this mistake which looks silly but maybe it's not.. suppose f1 = .4 ; f2 =.51...

11년 초과 전 | 답변 수: 1 | 0

1

답변

답변 있음
Removing values from a variable.
A{1}=[1 2 2; 2 2 2; 3 1 2; 4 5 6; 5 5 6; 7 1 2] ; A{1}(4:5,:) = [] ; it means access the first element of cell 1 (which ...

11년 초과 전 | 0

질문


Solving odes with ode45 by using actual values for physical constants....
Whenever I try to use actual values for constants in a physical problem I get stuck in a 'busy' message from MATLAB. What do I h...

11년 초과 전 | 답변 수: 0 | 0

0

답변

질문


Comparing an analytic solution to a numerical solution (it does not work!)
There`s an equation called filament solution by Ostriker. I need to compare his solution to the solution which comes from a sy...

11년 초과 전 | 답변 수: 0 | 0

0

답변

질문


ODE45 how do I interpret this code...
if true % code end function elements tspan = [0 1]; inits = [0 1]; [t,y] = ode45(@Y,tspan,inits); plot(t,y) fun...

11년 초과 전 | 답변 수: 1 | 0

1

답변

질문


What does '...' mean in MATLAB?
I came across this script and I've seen h = ... what does it mean? axis(1.2*[-1 1 -1 1]) axis square box on hold o...

11년 초과 전 | 답변 수: 2 | 0

2

답변

질문


How do I read this code?
Suppose I run this code by typing in the command line [t p] = ode45(@spring,[0 4], [0 0]); I don't understand first of all how M...

11년 초과 전 | 답변 수: 1 | 0

1

답변

질문


(Biginner) Code does not work! Please. I need a hand.
I learned some things about this. One, even defining rho and G outside the functions "dp" and " deriv_M" it seems that when MAT...

11년 초과 전 | 답변 수: 1 | 0

1

답변

질문


What kind of structure is that in MATLAB I've never seen it before... (Differential equations)
f = @(t,x) [-x(1)+3*x(3);-x(2)+2*x(3);x(1)^2-2*x(3)]; what does "@(t,x)" represent and there's some room between the expre...

11년 초과 전 | 답변 수: 1 | 0

1

답변

질문


May you guys help me I got stuck in developing a simple code... (solving diferential equations by using ode45)
If I consider the function react2 and write the function react in the prompt command it will work!! But I want to use only the s...

11년 초과 전 | 답변 수: 2 | 0

2

답변

질문


plotting matrix with the command plot and meshgrid. Please clarify that to me.
Suppose I create a simple matrix y = [ 2 4; 6 1] and then when I plot it using plot like, plot(y,'*') I tried to understand how...

11년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Beginner... why a matrix with numbers and strings doesn't give me the numbers? ( I know I have to transform the numbers into strings)
I just would like to know how it works. e.g t = 71 ; c = (t-32)/1.8 ; hey = ['The temperature is , c , 'C'] #...

거의 12년 전 | 답변 수: 1 | 0

1

답변