Answered
Plotting bar graph from website
First: ax = gca; ax.XRuler.TickLabelFormat = 'mmm uuuu'; would change the format to (for example) "Jan 1960" Third: You hav...

2 years ago | 0

Answered
collect data but has inF
You should be vectorizing your code: img = (-0.18 ./ (-0.28 ./ (45.39 ./ double(img1) - 1))+1) * 5.3; The result will be somet...

2 years ago | 0

Answered
How do I download an older release of MATLAB?
These instructions can be used for R2014a and later. Earlier releases use a different installer. Step 1: access https://www.mat...

2 years ago | 0

Answered
How do I download MATLAB and other MathWorks products?
These instructions can be used for R2014a and later. Earlier releases use a different installer. Step 1: access https://www.mat...

2 years ago | 0

Answered
Download Matlab 2014 a
These instructions can be used for R2014a and later. Earlier releases use a different installer. You must first have a license ...

2 years ago | 1

Answered
Why put a semicolon after the last input for an array?
Suppose that you are writing out several rows of value using code. You write out the initial [ and you start writing values. You...

2 years ago | 0

| accepted

Answered
Plotting double vs datetime (DD-MM-YY), only the year is used from the datetime
Speculating about what you are plotting: If you plot(SNOW_GP,DATE) then your y axis has about 40 years. In order for it to be...

2 years ago | 1

Answered
How to replace the data in tif file with my own data by matlab?
The file you have appears to be a GeoTIFF file, which you can read with readgeoraster or the older geotiffread You can write ou...

2 years ago | 1

| accepted

Answered
How to omit milliseconds from a table.
dateshift TC.Time = dateshift(TC.Time, 'start', 'second');

2 years ago | 0

| accepted

Answered
How to convert flowchart to MATLAB code ?
input plus mod for

2 years ago | 0

Answered
How to make tif output file with Coordinate Reference System (CRS)?
Make sure the CRS is a "map raster reference object" and use geotiffwrite from the Mapping Toolbox.

2 years ago | 0

Answered
The output of solve(eqn, x) is still an equation instead of number
syms G1 G2 C1 C2 K H a s G=(a*K*G1*G2)/(s^2*C1*C2+s*(C2*(G1+G2)+C1*G2*(1-K))+G1*G2) %Transfer function [G_num,G_den]=numden(G)...

2 years ago | 1

| accepted

Answered
Using serial as a "trigger"
You would use serialport and configureCallback with "byte",1 . When MATLAB detects 1 (in this case) byte of data on the serial p...

2 years ago | 0

Answered
Run a function in given time moments.
MATLAB does not support that. The closest to that is that timer supports a start delay -- so you could calculate the time diffe...

2 years ago | 1

| accepted

Answered
different view in uitable app designer
Experimentally: It appears that the formatting of rows in the table works on some kind of buffer system having to do with which...

2 years ago | 0

Answered
How do I get my code to output each output value with the different input values. error message is Out of memory. The likely cause is an infinite recursion within the program.
% Define Reynolds numbers and epsilon/D values Re_values = [10000, 100000, 1000000, 10000000]; epsilon_over_D_values = [0.0...

2 years ago | 1

Answered
I need to cancel my pending order. I do not need the signal processing toolbox.
Unfortunately Mathworks Sales does not read this resource, and the people who answer questions here are volunteers, very few of ...

2 years ago | 0

Answered
How to find values in a table
%let your table be named T column_with_key = 1; column_to_examine = 3; value_to_lookfor = 100; value_to_extrapolate = 95...

2 years ago | 1

| accepted

Answered
Trying to Solve system of 2 Equations "Unable to find explicit solution" Code In Description
syms a1 a2 a3 r_1 r_2 alpha E a3 = (alpha*E)/(8*pi); eqn = [2*a3*log(r_1) + (a1/(r_1)^2) + a3 + 2*a2 == 0,... 2*a3*log(r_...

2 years ago | 1

| accepted

Answered
How to create animations with scatterplot and scatter?
time_vec = 1:1:duration; That is not correct. It should be time_vec = (0:num_samp-1)/Fs;

2 years ago | 0

Answered
When I close the figure or eeglab, the program becomes unresponsive
This is a known problem with MacOS Monterey and Sonoma that affects Apple Silicon systems. The workaround is described at https...

2 years ago | 1

| accepted

Answered
i want to find k for different values of w, k will be obtained from the determinant of the matrix ,this is a sample my actual code is 8 by 8 matrix ,please help
You are looping for w but you are using j as your index. The default value for the variable j is sqrt(-1) so you are trying to ...

2 years ago | 0

| accepted

Answered
How to use switch statement with list box?
When you ask to cancel then indx is empty, []. The empty matrix is not considered to be a scalar -- a scalar is 1 x 1 but [] is ...

2 years ago | 0

Answered
search sepecific file and copy to target file
file1 = char({dirOutput1.name}'); That creates a char array -- with shorter individual entries padded with spaces out to the le...

2 years ago | 1

| accepted

Answered
Expected a value representable in the C type 'int'
You are taking whatever arrives in t and multiplying it by 10 and adding 1, and then you try to use that as an index into the zd...

2 years ago | 0

Answered
how to use ga function to calculate a matrix
When you ask for 13 variables, your function will get passed a row vector 1 x 13. Your code assumes that it will receive a colum...

2 years ago | 1

| accepted

Answered
how visualize it correctly in app designer
T0=table(c,string({Sis.Sistema}'));

2 years ago | 0

| accepted

Answered
How to create a "contour" plot with a varying X and Y vector values?
contourf() is not applicable to volumes. To contour on volumes, use isosurface -- usually with transparency so you can see "insi...

2 years ago | 0

Answered
Regarding Developing and Launching a Commercial Application with a MATLAB Commercial License
Is it possible to develop a commercial application by purchasing a MATLAB Commercial License? Yes. As long as the application i...

2 years ago | 1

Load more