Statistics
RANK
31 372
of 300 000
REPUTATION
1
CONTRIBUTIONS
55 Questions
1 Answer
ANSWER ACCEPTANCE
65.45%
VOTES RECEIVED
1
RANK
of 20 860
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 166 926
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
assigning values with []
[a,b]=[1,2] Why doesn't this work? How to rewrite into what is easier and more succinct than a=1; b=2? Just to respond to al...
6 månader ago | 1 answer | 0
1
answerQuestion
easy solution: log scale plot for data with positive and negative data
semilogy and set(gca, 'YScale', 'log') don't work for negative data. There's user written functions resolving this but is there ...
6 månader ago | 0 answers | 0
0
answersQuestion
function name as a variable
Is it possible to do the following? variablefun.m function variablefun(fun) fun function fun1 end function fun...
6 månader ago | 1 answer | 0
1
answerQuestion
what PDE types can solvepde solve
What PDE types can solvepde solve? Is solvepde just femlab in the past?
6 månader ago | 1 answer | 0
1
answerQuestion
taking difference of 2 surf figures of different sizes
One is to compare two solutions and study the error by taking their difference. The two solutions are two surf figures generated...
9 månader ago | 2 answers | 0
2
answersextract fig into surf(x,y,z)
both answers are great. I don't know which to accept.
9 månader ago | 0
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...
10 månader ago | 1 answer | 0
1
answerQuestion
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...
10 månader ago | 1 answer | 0
1
answerQuestion
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...
10 månader ago | 0 answers | 0
0
answersQuestion
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...
10 månader ago | 1 answer | 0
1
answerQuestion
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...
10 månader ago | 1 answer | 0
1
answerQuestion
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,:...
10 månader ago | 1 answer | 0
1
answerQuestion
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 ...
11 månader ago | 1 answer | 0
1
answerQuestion
code folding in live scripts
Is code folding in live scripts possible as in .m?
ungefär ett år ago | 1 answer | 0
1
answerQuestion
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...
ungefär ett år ago | 1 answer | 0
1
answerQuestion
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...
mer än ett år ago | 1 answer | 0
1
answerQuestion
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 ...
mer än ett år ago | 1 answer | 0
1
answerQuestion
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...
mer än ett år ago | 1 answer | 0
1
answerQuestion
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...
mer än ett år ago | 3 answers | 0
3
answersQuestion
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 ...
mer än ett år 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.
mer än ett år 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...
mer än ett år 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? ...
mer än ett år 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...
mer än ett år 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:\...
mer än ett år 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...
mer än ett år 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 ...
mer än ett år 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...
mer än ett år 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',@...
mer än ett år 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...
mer än ett år ago | 1 answer | 0