Florian Bidaud
Followers: 0 Following: 0
Feeds
已回答
remove x labels from a figure with subplots.
figure for i = 1:5 s = subplot(5,1,i); % plot whatever you want plot(0:10,(0:10).^i) grid grid minor ...
remove x labels from a figure with subplots.
figure for i = 1:5 s = subplot(5,1,i); % plot whatever you want plot(0:10,(0:10).^i) grid grid minor ...
9 months 前 | 0
| 已接受
已回答
Trouble using diffuse function
See the doc: https://uk.mathworks.com/help/matlab/ref/diffuse.html. The structure is: R = diffuse(Nx,Ny,Nz,S) The output R is...
Trouble using diffuse function
See the doc: https://uk.mathworks.com/help/matlab/ref/diffuse.html. The structure is: R = diffuse(Nx,Ny,Nz,S) The output R is...
9 months 前 | 0
| 已接受
已回答
Double precision: Why does fprintf print "extra" wrong non zero digits?
By default, MATLAB uses 16 digits of precision. The rest can come from intermediate format conversion errors inside fprintf, due...
Double precision: Why does fprintf print "extra" wrong non zero digits?
By default, MATLAB uses 16 digits of precision. The rest can come from intermediate format conversion errors inside fprintf, due...
9 months 前 | 0
已回答
Re saving images with Transparent background and uncompressed
If you just want to rename them, you don't need to load and save, you can just use copyfile. If you want to do stuff after load...
Re saving images with Transparent background and uncompressed
If you just want to rename them, you don't need to load and save, you can just use copyfile. If you want to do stuff after load...
9 months 前 | 0
| 已接受
已回答
waibar doesn't work with parallel for
Have a look at this one https://uk.mathworks.com/matlabcentral/fileexchange/71083-waitbar-for-parfor?s_tid=answers_rc2-2_p5_MLT
waibar doesn't work with parallel for
Have a look at this one https://uk.mathworks.com/matlabcentral/fileexchange/71083-waitbar-for-parfor?s_tid=answers_rc2-2_p5_MLT
9 months 前 | 1
| 已接受
已回答
unmatched the number of variables specified
The error is self explanatory, Empties.Properties.VariableNames returns a cell array of all the variable names. You try to repla...
unmatched the number of variables specified
The error is self explanatory, Empties.Properties.VariableNames returns a cell array of all the variable names. You try to repla...
9 months 前 | 0
已回答
Interpolate x,y coordinates and timesteps
In your example, you only have a 2D M array, but I guess what you want is a 3D interpolation, so with another dimension in M ? ...
Interpolate x,y coordinates and timesteps
In your example, you only have a 2D M array, but I guess what you want is a 3D interpolation, so with another dimension in M ? ...
9 months 前 | 0
已回答
Expired coding question, don't refer to this
You haven't defined Tout and Tout1 as equations but as numerical variables because qout and qdot are int arrays. You should firs...
Expired coding question, don't refer to this
You haven't defined Tout and Tout1 as equations but as numerical variables because qout and qdot are int arrays. You should firs...
9 months 前 | 0
已回答
How to Generate Perfect Circles for Minecraft Builds in MATLAB
You need a bit more resolution in your circle, and I would go for finding the minimum of the equation rather than rounding the r...
How to Generate Perfect Circles for Minecraft Builds in MATLAB
You need a bit more resolution in your circle, and I would go for finding the minimum of the equation rather than rounding the r...
10 months 前 | 0
已回答
2 synchronized objects in viewer3d
Hi, I think you should be able to use linkprop on your two 3D-viewer objects.
2 synchronized objects in viewer3d
Hi, I think you should be able to use linkprop on your two 3D-viewer objects.
11 months 前 | 0
已回答
Shortcut for applying two functions to two arrays.
Not entierly sure if that's what you want but you can do that f = @(fun_array,x) [fun_array{1}(x(1,:)); fun_array{2}(x(2,:))]; ...
Shortcut for applying two functions to two arrays.
Not entierly sure if that's what you want but you can do that f = @(fun_array,x) [fun_array{1}(x(1,:)); fun_array{2}(x(2,:))]; ...
11 months 前 | 0
已回答
Can Matlab write the output directly in a word file
You can write text with this kind of structure text_to_write = 'My text'; fid = fopen('Pks.doc','w'); fprintf(fid,text_to_wri...
Can Matlab write the output directly in a word file
You can write text with this kind of structure text_to_write = 'My text'; fid = fopen('Pks.doc','w'); fprintf(fid,text_to_wri...
11 months 前 | 0
| 已接受
已回答
I want to access the variable outside the loop or want to change the variables value in loop but in every iteration
One solution could be to save it in a mat file at each step, then you have full access to it with a parfeval or any parallel com...
I want to access the variable outside the loop or want to change the variables value in loop but in every iteration
One solution could be to save it in a mat file at each step, then you have full access to it with a parfeval or any parallel com...
12 months 前 | 0
| 已接受
已回答
How can i connect this plot line
You have to concatenate the vectors. Let's say your first line in defined by (x1, y1), and your second line by (x2, y2), then i...
How can i connect this plot line
You have to concatenate the vectors. Let's say your first line in defined by (x1, y1), and your second line by (x2, y2), then i...
12 months 前 | 0
已回答
Unable to iterate my array even though both sides appear to be the same sides.
Following your comment, you have the answer, Time{1} is a 0x1 double, so max(Time{1,1}) is empty, therefore you cannot assign i...
Unable to iterate my array even though both sides appear to be the same sides.
Following your comment, you have the answer, Time{1} is a 0x1 double, so max(Time{1,1}) is empty, therefore you cannot assign i...
1 year 前 | 0
已回答
How to plot recursive function/how to avoid infinite recursion?
a(1) = 65; b(1)= 0; i = 1; while a(i)>a(1) || i==1 b(i+1) = b(i) + 9.81/0.94*sin(a(i))*0.0215; a(i+1) = a(i) + 0.02...
How to plot recursive function/how to avoid infinite recursion?
a(1) = 65; b(1)= 0; i = 1; while a(i)>a(1) || i==1 b(i+1) = b(i) + 9.81/0.94*sin(a(i))*0.0215; a(i+1) = a(i) + 0.02...
1 year 前 | 0
已回答
Matlab function assumed inputs
Hi, if you want positional arguments, use addOptional with an inputParser like this : % to use the function as % [x,y] = pri...
Matlab function assumed inputs
Hi, if you want positional arguments, use addOptional with an inputParser like this : % to use the function as % [x,y] = pri...
1 year 前 | 0
已回答
Matlab: colorbar of contourplot only for specified contour levels
f = figure(1); c = colorbar; f.Children(2).CLim = [0 1000]; c.Ticks = [2 45 600 1000]; color_array = [0 0 1; 0 1 0; 1 1 0; 1...
Matlab: colorbar of contourplot only for specified contour levels
f = figure(1); c = colorbar; f.Children(2).CLim = [0 1000]; c.Ticks = [2 45 600 1000]; color_array = [0 0 1; 0 1 0; 1 1 0; 1...
1 year 前 | 0
已回答
How to convert specified time to GMT/UTC?
https://uk.mathworks.com/help/matlab/ref/datetime.html#buhzxmk-1-TimeZone date = datetime({'18-Oct-2023 17:40:00' '18-Oct-2023 ...
How to convert specified time to GMT/UTC?
https://uk.mathworks.com/help/matlab/ref/datetime.html#buhzxmk-1-TimeZone date = datetime({'18-Oct-2023 17:40:00' '18-Oct-2023 ...
1 year 前 | 1
已回答
How to plot a current based on active voltage?
Well you have a plot inside your u_act function, which is gonna be called at each calculation step in ode15s. If you remove the...
How to plot a current based on active voltage?
Well you have a plot inside your u_act function, which is gonna be called at each calculation step in ode15s. If you remove the...
1 year 前 | 0
已回答
Change name and logo after Standalone Desktop Apps Compile
You can go to the app.UIFigure and change the identifiers. The image should be in the same folder as the app or the path must ad...
Change name and logo after Standalone Desktop Apps Compile
You can go to the app.UIFigure and change the identifiers. The image should be in the same folder as the app or the path must ad...
1 year 前 | 1
已回答
Greetings, if you have a moment, I could use your help in resolving this error.
The error is fairly clear. It's either your model has a singularity, like dividing by a very small quantity. In this case, you n...
Greetings, if you have a moment, I could use your help in resolving this error.
The error is fairly clear. It's either your model has a singularity, like dividing by a very small quantity. In this case, you n...
1 year 前 | 1
| 已接受
已回答
fprintf automatic spacing for strings of different lenghts
Something like this should do cities = ["Vila Lo" "Piao" "Chao de Frades" "Salmorrete" "Tortolindo"]; path = [1 2 3 4 5]; dis...
fprintf automatic spacing for strings of different lenghts
Something like this should do cities = ["Vila Lo" "Piao" "Chao de Frades" "Salmorrete" "Tortolindo"]; path = [1 2 3 4 5]; dis...
1 year 前 | 1
已回答
How to overwrite existing text file without saving as new file
Hi, Might not be the fastest to do but it should work: text_file = 'text.txt'; text_data = readcell(text_file); text_data{en...
How to overwrite existing text file without saving as new file
Hi, Might not be the fastest to do but it should work: text_file = 'text.txt'; text_data = readcell(text_file); text_data{en...
1 year 前 | 0
已回答
DRAW LINES POINT TO POINT WHITH GINPUT
In the (x,y) plane : figure xlim([0 100]) ylim([0 100]) hold on i = 1 while true [x(i), y(i)] = ginput(1); scatt...
DRAW LINES POINT TO POINT WHITH GINPUT
In the (x,y) plane : figure xlim([0 100]) ylim([0 100]) hold on i = 1 while true [x(i), y(i)] = ginput(1); scatt...
1 year 前 | 1
| 已接受
已回答
Creating function variables to be filled with EditField Inputs
Hi My guess is you don't need the app designer for such a simple thing. you could simply use the function input. So basicall...
Creating function variables to be filled with EditField Inputs
Hi My guess is you don't need the app designer for such a simple thing. you could simply use the function input. So basicall...
1 year 前 | 0
| 已接受
已回答
How to draw a rectangle around the area that shows an energy variation
Since you said your issue was both finding the variation and drawing the rectangle. To find the variations, I would suggest us...
How to draw a rectangle around the area that shows an energy variation
Since you said your issue was both finding the variation and drawing the rectangle. To find the variations, I would suggest us...
1 year 前 | 0
已回答
How can i solve this equation with solve()
You have the explanation here : https://uk.mathworks.com/matlabcentral/answers/512646-what-is-z1-appearing-when-solving-this-non...
How can i solve this equation with solve()
You have the explanation here : https://uk.mathworks.com/matlabcentral/answers/512646-what-is-z1-appearing-when-solving-this-non...
1 year 前 | 0
| 已接受
已回答
Extract RGB from an Image and fit to color legend values in MATLAB
You need to create a colormap from your RGB values. The format must be your_colormap = [255 0 0; 255 150 0; 0 255 0]; Let's...
Extract RGB from an Image and fit to color legend values in MATLAB
You need to create a colormap from your RGB values. The format must be your_colormap = [255 0 0; 255 150 0; 0 255 0]; Let's...
1 year 前 | 0
已回答
Why do i recieve Dot indexing is not supported for variables of this type error when i call my function
try with m = spec{1}.m.table or m = spec.m{1}.table
Why do i recieve Dot indexing is not supported for variables of this type error when i call my function
try with m = spec{1}.m.table or m = spec.m{1}.table
1 year 前 | 0