photo

feynman feynman


Last seen: 2 days ago Active since 2020

Followers: 0   Following: 0

Statistics

  • Thankful Level 4
  • First Review
  • Thankful Level 2

View badges

Feeds

View by

Question


comsol LiveLink for MATLAB: output specified solutions under several studies
There are several solutions under several studies in .mph comsol models. How to output a specific solution in LiveLink for MATLA...

2 days ago | 0 answers | 0

0

answers

Question


comsol LiveLink for MATLAB: output solutions on a specific line (in reference or current configuration)
In a 3D comsol model, how to output the solution on a specific line (in reference or current configuration)? In .mph comsol mode...

2 days ago | 0 answers | 0

0

answers

Question


no surf in comsol, is matlab live link a solution?
There's a solution u(x,t) in comsol, x and t are spatial and temporal coordinates. There's no surf function in comsol. Can m...

2 days ago | 0 answers | 0

0

answers

Question


extract fig into surf(x,y,z)
There's a .fig that plots n z(x) curves, each of which corresponds to 1 y value (n=3 in the illustration). The y values are know...

3 days ago | 1 answer | 0

1

answer

Question


code to tell mlx or m files
M and mlx files work slightly differently in outputting figures in separate windows or within the code file. I hope to have an m...

3 days ago | 1 answer | 0

1

answer

Question


reshape data to fit into surf/contour
nodalPositions is a 2*100 double matrix storing the nodal positions of a PDE on a 2D domain with 100 nodes. x=nodalPositions(1,:...

12 days ago | 1 answer | 0

1

answer

Question


speed control of exporting animations in mlx
There's a little button of 'export animation' on the bottom right of each animation made in mlx. Though 'playback speed' can be ...

23 days ago | 1 answer | 0

1

answer

Question


code folding in live scripts
Is code folding in live scripts possible as in .m?

2 months ago | 1 answer | 0

1

answer

Question


save animation in subplot
I'm using while drawnow;hold off end to create an animation. But this animation is just the 6th position as in subplot(2...

4 months ago | 1 answer | 0

1

answer

Question


blank matlab icon on taskbar after a change in matlab directory.
The original matlab directory is c:\matlab\r2023 and r2023 was moved to c:\ to replace c:\matlab and renamed as matlab r2023. M...

7 months ago | 1 answer | 0

1

answer

Question


plot in designated subfigures in loops
I have the following code. I want to plotsubfigures as required in the comments in main.m. How to plot in designated subfigures ...

7 months ago | 1 answer | 0

1

answer

Question


remove inf in quiver
I want quiver(X,Y,u,v), but there's inf entries in u and v at positions x=y. I'm looking for the smartest way to skip these posi...

7 months ago | 1 answer | 0

1

answer

Question


smart function to switch functions
Suppose I want to tune different ode solvers to run: ode23(@fun,...) I want to use 'odesolver' so that odesolver(@fun,...) ac...

7 months ago | 3 answers | 0

3

answers

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

8 months ago | 1 answer | 0

1

answer

Question


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.

8 months ago | 1 answer | 0

1

answer

Question


uicontrol doesn't work in Matlab 2023a
figure;pauseButton=uicontrol('Style','pushbutton',... 'String','pause','Position',[2000 60 100 100],... 'Callback',@(s...

8 months ago | 1 answer | 0

1

answer

Question


vectorization examples for efficiency
I wonder if the following expressions are already optimized forms for computational efficiency and if not how to rewrite them? ...

9 months ago | 1 answer | 0

1

answer

Question


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

9 months ago | 1 answer | 0

1

answer

Question


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

9 months ago | 1 answer | 0

1

answer

Question


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

9 months ago | 1 answer | 0

1

answer

Question


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

9 months ago | 0 answers | 0

0

answers

Question


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

9 months ago | 1 answer | 0

1

answer

Question


concatenate multiple 'OutputFcn' options in odeset?
Is there a way to output both odeplot+odephas2 after modifying the following? options=odeset('OutputFcn',@odeplot,'OutputFcn',@...

9 months ago | 1 answer | 0

1

answer

Question


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

9 months ago | 1 answer | 0

1

answer

Question


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

9 months ago | 0 answers | 0

0

answers

Question


if nested functions supported in live scripts
Are nested functions supported in live scripts? Otherwise, global variables have to be declared as global?

9 months ago | 1 answer | 0

1

answer

Question


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

10 months ago | 1 answer | 0

1

answer

Question


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

10 months ago | 0 answers | 0

0

answers

Question


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

10 months ago | 2 answers | 1

2

answers

Question


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

10 months ago | 1 answer | 0

1

answer

Load more