回答済み
I Want to find stable output of transfer function using oid but the comment is '??? Undefined function or variable 'pid'.'
You want to use the function 'pid': https://uk.mathworks.com/help/control/ref/pid.html but you get an error? Did you check th...

1年以上 前 | 0

回答済み
How to set colorbar tick labels between ticks
Does it matter if the ticks are moved as well? figure('Position',[200 200 1000 200]) plot(0,0) cc = colorbar('Location','Sout...

1年以上 前 | 0

| 採用済み

回答済み
Infil NaN for missing years in time series
If you don't mind converting your data to tables you can use outerjoin: A = [1981 0.79 1.56 0.90 1.15; 1982 0.62 0.83 0.84 0.7...

1年以上 前 | 0

| 採用済み

回答済み
plotting 2D data with respect to a third property
Can you be more specific about what is wrong with scatter? x = rand(100,1); y = rand(100,1); z = rand(100,1); figure scat...

1年以上 前 | 0

| 採用済み

回答済み
Replacing missing data with the previous data in a column
You are making cell arrays in your question by using curly {} brackets. I'm going to assume this is a mistake because you call t...

1年以上 前 | 0

回答済み
Looping within a structure
What are the values stored in point1.struct? Is your question about accessing fields of the table generally? If so you should l...

1年以上 前 | 0

回答済み
Different conditions, matching values
I don't really see how the output you give represents what you described in the question, or what you mean by "that calculatio...

1年以上 前 | 0

回答済み
could anyone help me to solve the issue
Its sounds like your question is: Each row can only have maximum 3 numbers greater than zero and each row must have these maxim...

1年以上 前 | 0

回答済み
Error using horzcat in linprog
It's hard to read your answer, please look at this first next time: https://uk.mathworks.com/matlabcentral/answers/6200-tutoria...

1年以上 前 | 0

回答済み
How to generate random numbers from the Weibull-Gamma distribution ?
I'm not really familiar with the Weibull-Gamma distribution, do you mean the Gamma-Weibull distribution? Or do you mean you wa...

1年以上 前 | 0

| 採用済み

回答済み
Index out of bounds error but cannot see why variable isn't generating properly.
This is really hard to debug without the actual code (generally posting the actual code is far more helpful than posting images ...

1年以上 前 | 0

回答済み
Does anyone knows an Answer to this question?
Well let's think about it a little, in Matlab the multiplication sign (i.e. 5 x 5 = 25) is represented by an asterisk (*). Gener...

1年以上 前 | 1

| 採用済み

回答済み
How to eliminate the jaggedness of the picture drawn by Matlab
The jaggedness is called aliasing and it happens when in image, shape or function is downsampled, for instance when an exact fun...

1年以上 前 | 1

| 採用済み

回答済み
Help with creating clustering
I think the biggest problem here is that you have very few data points. Have you tried looking at the various options on this p...

1年以上 前 | 0

| 採用済み

回答済み
Cant change the background using image segmentaton
This image looks like a real nightmare for edge detection etc and I don't know if you are really every going to get something sa...

1年以上 前 | 0

回答済み
Cropping image with Bounding Box
What sort of image is 'IMG_1800.jpg'? Because regionprops expects a logical or labelled image as the first input. If your imag...

1年以上 前 | 0

回答済み
How to trace (detect) the boundary changing under compression?
It seems like you have 3 regions; a light background a darker inner ring and then a really dark core. You want to detect the in...

1年以上 前 | 0

回答済み
Multiple Y variables in RealTime
If you mean that distance1 has too many elements to be plotted you could just downsample it - i.e. by taking every 10th or 100th...

1年以上 前 | 0

回答済み
Refreshdata slowing down unrelated plots/functions
I'm not really familiar with uicontrols, but you could try clearing your axes when they are updated. i.e. function update_plot...

1年以上 前 | 0

回答済み
Error of subscript indices must either be real positive integer or logicals.
Run this command at the command line: dbstop if error When you get your error Matlab will point you to a specific line, go the...

1年以上 前 | 1

回答済み
SSIM between grey-scale images
Can you check by typing 'ver' in the matlab command window and telling us what shows up? Also can you type 'which ssim' in the ...

1年以上 前 | 0

回答済み
How to change the date form in the figure from default to yyyy-MM-dd
I don't know about the Chinese system language, so I would probably suggest getting the date in whatever format you want using d...

1年以上 前 | 0

回答済み
Calculating moving average of a 3D matrix
I don't quite understand what you want, you have a 3D matrix which is 412x314x200 and you want to get a 1x200 vector where each ...

1年以上 前 | 0

| 採用済み

回答済み
Is function / variable highlighting possible in MATLAB?
I don't know about colouring functions but the rest of that colour scheme can be replicated using stuff like this: https://gith...

1年以上 前 | 0

回答済み
Plot 2D circle image with color bar
Maybe you could adapt this: https://uk.mathworks.com/matlabcentral/fileexchange/13200-3d-polar-plot or this: https://uk.mathw...

1年以上 前 | 0

回答済み
Visualize 4D data from pressure measurement
I have used this function on the fileexchange in the past and I think it is really good: https://uk.mathworks.com/matlabcentral...

1年以上 前 | 1

回答済み
Subscription assignment dimension mismatch.
Type this code in the matlab command line: dbstop if error Then run your code and it will stop on a specific line. That line w...

1年以上 前 | 0

回答済み
Meshgrid function different order
x = 0:1:5; y = 0:1:5; z = 0:1:5; [y_a, z_a, x_a] = meshgrid(y,z,x); Mesh = [x_a(:),y_a(:),z_a(:)] Or probably better: x = ...

1年以上 前 | 1

| 採用済み

回答済み
How to save the data of x (in my folowing case) to an Excel file after each loop .
help xlswrite and look at the 'range' option. M.

1年以上 前 | 0

回答済み
Personalising contour plot, map colour scheme
Would something like this work for you?: R = [linspace(0,1,100) ones(1,43) linspace(1,1,100)]; G = [linspace(0,1,100) ones(1,4...

1年以上 前 | 1

| 採用済み

Load more