feynman feynman
Followers: 0 Following: 0
Statistics
37 Questions
0 Answers
RANK
240,905
of 290,048
REPUTATION
0
CONTRIBUTIONS
37 Questions
0 Answers
ANSWER ACCEPTANCE
59.46%
VOTES RECEIVED
0
RANK
of 19,630
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 144,434
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
Question
call function name in the same function
In a function, I need to run this function somewhere within the function like function fun i=1 if i>1 function name ...
6 days ago | 1 answer | 0
1
answerQuestion
Save and load models in phase plane app
Though there are Save and load buttons in phase plane app, I don't think they work. I never find any models saved.
10 days ago | 1 answer | 0
1
answerQuestion
uicontrol doesn't work in Matlab 2023a
figure;pauseButton=uicontrol('Style','pushbutton',... 'String','pause','Position',[2000 60 100 100],... 'Callback',@(s...
11 days ago | 1 answer | 0
1
answerQuestion
vectorization examples for efficiency
I wonder if the following expressions are already optimized forms for computational efficiency and if not how to rewrite them? ...
2 months ago | 1 answer | 0
1
answerQuestion
multiple actions following @(src,event) in uicontrol
How to add another action or function to the following Button=uicontrol('Style','pushbutton', 'String','pause','Position',[1800...
2 months ago | 1 answer | 0
1
answerQuestion
Smart way of adding paths
For those using multiple PCs, it is necessary to use a smart way of adding paths. How is it possible to add paths like: a='c:\...
2 months ago | 1 answer | 0
1
answerQuestion
role of flux f in bcfun of pdepe for systems of PDEs
To solve utt=uxx, as the flux term f has a 0 entry in pdefun, the same f is in bcfun. In bcfun, there's q(x,t)f(x,t,u,ux), which...
2 months ago | 1 answer | 0
1
answerQuestion
functions don't take effect
When calling a function involving multiple other functions where some changes are made, new changes don't take effect even when ...
2 months ago | 0 answers | 0
0
answersQuestion
uicontrol to start over a loop
uiwait/uiresume through uicontrol can be used to pause/continue a loop. Is there a corresponding ui+... to start over a loop fro...
2 months ago | 1 answer | 0
1
answerQuestion
concatenate multiple 'OutputFcn' options in odeset?
Is there a way to output both odeplot+odephas2 after modifying the following? options=odeset('OutputFcn',@odeplot,'OutputFcn',@...
2 months ago | 1 answer | 0
1
answerQuestion
3D plots rotated in live scripts
It seems that once 3d plots in animations are rotated, the animation can't be replayed again, for the control slider automatical...
2 months ago | 1 answer | 0
1
answerQuestion
animation turns static in live scripts
I have the following code that works well in m files but not in live scripts because a figure pops up in a separate window and t...
2 months ago | 0 answers | 0
0
answersQuestion
if nested functions supported in live scripts
Are nested functions supported in live scripts? Otherwise, global variables have to be declared as global?
2 months ago | 1 answer | 0
1
answerQuestion
how to output quantities involving time derivatives in pdepe
pdeval only seems to output the solution and the spatial derivative of the solution via [~,dudx]=pdeval(m,x,sol(i,:,1),x). It se...
2 months ago | 1 answer | 0
1
answerQuestion
why does pdepe adopt Petrov-Galerkin?
pdepe is meant to solve parabolic and elliptic PDEs. Petrov-Galerkin seems to be designed to solve convection dominated ones, wh...
2 months ago | 0 answers | 0
0
answersQuestion
how to output quantities within pdefun, bcfun, icfun in pdepe
How to output quantities within pdefun, bcfun, icfun in pdepe? e.g. in pdefun: function [c,f,s] = heatcyl(x,t,u,dudx) c = 1; ...
2 months ago | 2 answers | 0
2
answersQuestion
unable to adjust real time views of surf plots in plot-drawnow animations
In plot-drawnow animations, how to use the mouse to adjust the view of a 3d surf plot? I've found that there's no response to an...
2 months ago | 1 answer | 0
1
answerQuestion
time integration in solvepde (=pde toolbox?)
solvepde (=pde toolbox?) seem to be based on finite elements. If so what time integration (ode23 etc) is adopted?
3 months ago | 1 answer | 0
1
answerQuestion
different PDEs to solve through events in pdepe
There is a model defined by a pointwise PDE solving for u(x,t), i.e. it is PDE1 when u(x,t)>0 and PDE2 when u(x,t)<=0. Can one u...
3 months ago | 0 answers | 0
0
answersQuestion
how to change time integration in pdepe
ode15s is used in pdepe. How to change it to say ode23 etc when in need?
3 months ago | 1 answer | 0
1
answerQuestion
How to stop loops or close figures in live scripts
I wanna use live scripts to run a loop updating an animation because this will allow to playback the animation. In the normal co...
3 months ago | 1 answer | 0
1
answerQuestion
stop animations with pause()
I wanna stop/break/suspend the following animation without using ctrl+c, how? for i=1:10 plot(linspace(0,1),linspace(0,1)...
3 months ago | 2 answers | 0
2
answersQuestion
plot style of 'OutputFcn'=odeplot in odeset
The following code can plot the solution of the ode with 'odeplot' rather than using 'plot'. options = odeset('OutputFcn',@odep...
3 months ago | 1 answer | 0
1
answerQuestion
pdepe/pde1dm's vectorized option
In pdepe, when vectorized is turned on, the elapsed time is the same as that when vectorized is off. Why no improvement? The ...
3 months ago | 0 answers | 0
0
answersQuestion
pde1dm with coupled ODEs
According to the pde1dm manual, pde1dm with coupled ODEs has to do with three additional arguments to the pde1dm function: [sol...
3 months ago | 1 answer | 0
1
answerQuestion
ode23, 45, 15s, 15i for conservative ODEs
Which of ode23, 45, 15s, 15i are dissipative or anti-dissipative for conservative ODEs?
3 months ago | 1 answer | 0
1
answerQuestion
pde1dm compared to pdepe
pde1dm is an extended version of pdepe and it can solve equations pdepe can't solve. I wonder about the differences between thes...
3 months ago | 2 answers | 0
2
answersQuestion
Spatial discretization in pdepe compared to others
The spatial discretization in pdepe seems to be a unique one. Could someone please explain it briefly so that it is understandab...
3 months ago | 0 answers | 0
0
answersQuestion
whether meshes affect computational step lengths in pdepe
In pdepe the user specifies an xmesh and tmesh. Do these meshes affect what meshes and computational step lengths adopted by the...
3 months ago | 1 answer | 0
1
answerQuestion
why 'parabolic' and 'hyperbolic' not recommended for solving PDEs
why are 'parabolic' and 'hyperbolic' not recommended for solving PDEs and instead 'solvepde' is recommended? Aren't they all bas...
3 months ago | 1 answer | 0