Réponse apportée
How to generate report from matlab app designer
See exportapp

plus de 2 ans il y a | 0

Réponse apportée
i get a couple of errors from my code. I am trying to see if there is an interrelation b/w brightness and counts. I have 2 independent varibles which are device and mode.
detectImportOptions lets you fix the input interpretation issues. Once you have the data in the table, use it instead of creati...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
Plotting a figure from a matrix
A=[1 2; 2 3;2 4;3 5; 5 6; 6 7]; G=graph(A(:,1),A(:,2)) plot(G)

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
how to plot two-column text file of the energy spectra
data=readmatrix('point1.prn.xlsx'); whos data plot(data(:,1),data(:,2)) Seems easy enough...

plus de 2 ans il y a | 0

Réponse apportée
Why does my complied MATLAB .exe give me the same output every time I run the standalone application?
The location of file being opened isn't same in .exe as in the IDE. Try adding a file dialog message that displays the current ...

presque 3 ans il y a | 0

| A accepté

Réponse apportée
I get complex numbers while using "acosd" function
GRD_u=[-0.6372,1.7170]; A_s_uniqe=[0.3479,-0.9375]; y=acosd(dot(GRD_u,A_s_uniqe)/sqrt(sum(GRD_u.^2))/sqrt(sum(A_s_uniqe.^2))) ...

presque 3 ans il y a | 1

Réponse apportée
How to calculate the date 0.25 years after the date of January 15, 2020
"In matlab document ,declare 'years' fuction do not count leap days ,If count leap days use ‘calyears’,But calyears do not accep...

presque 3 ans il y a | 0

Réponse apportée
Scaling the X and Y axis of a matlab histogram.
",,, read the file and "broke" it into three data arrays by using the following code" file = readtable("slprj/data.csv", 'Prese...

presque 3 ans il y a | 0

| A accepté

Réponse apportée
copy data from work space In a compact way
See save, load to get persistent data saved as file. There is no way to put constant data into a variable in the editor as text...

presque 3 ans il y a | 1

Réponse apportée
uidropdown : how know indices in item?
The index to the selected item is in the <InteractionInformation object> of the dropdown component. The object is available to ...

presque 3 ans il y a | 0

| A accepté

Réponse apportée
adding third y axis to the plot
See the <FEX submission addaxis>

presque 3 ans il y a | 0

Réponse apportée
How to calculate the date 0.25 years after the date of January 15, 2020
t = datetime(2020,1,1); leapy=t+calmonths(3)

presque 3 ans il y a | 1

Réponse apportée
repmat vs repelem in code generation
"configNames.txt and configValues.txt contain a line with entries MaxTrackLim and 10 respectively" But your code contains MaxT...

presque 3 ans il y a | 1

Réponse apportée
Updating legend for a plot with markers and errorbar
x = 1:5; y = 3*x; err = std(y); plot(x,y,'k-o','MarkerFaceColor','green'); hold on errorbar(x,y,err,'Color','k'); hold off...

presque 3 ans il y a | 0

Réponse apportée
close figure: return value
vv=figure(); %%it's an example but i used countodown timer What for? and without knowing what that was set for and...

presque 3 ans il y a | 1

Réponse apportée
Have legend reflect multiple marker sizes
The legend has been made mostly opaque in recent versions; it used to be you could get your hands on the axes upon which it was ...

presque 3 ans il y a | 0

| A accepté

Réponse apportée
close figure: return value
Use isvalid hF=figure; isvalid(hF) delete(hF) isvalid(hF) exist('hF','var') clear hF exist('hF','var') Or, put the refer...

presque 3 ans il y a | 3

Réponse apportée
Problem with Anderson-darling test
The function definiton is function [AnDarksamtest] = AnDarksamtest(X,alpha) which doesn't have but one return variable and you...

presque 3 ans il y a | 1

| A accepté

Réponse apportée
create separate cells based on the (numbered) files contained in a folder
Hint: fnames={'378','933','934','935'}; % simulate array of filenames nums=str2double(fnames) % convert t...

presque 3 ans il y a | 0

| A accepté

Réponse apportée
Semilog plotting in loop
Well, let's try a little different tack, using some other MATLAB features... opt=detectImportOptions('wells.xlsx'); opt.DataRa...

presque 3 ans il y a | 0

| A accepté

Réponse apportée
uitable in app designer: format scalar and size cell table
Well, without code to look at, it's hard to point out what may have done wrong -- a simple test here worked just fine... p=[20 ...

presque 3 ans il y a | 1

Réponse apportée
In the chi-square test, how to calculate (the correct number of parameters and consequently) the correct number of degrees of freedom, without using the chi2gof function?
Although you specified 'Ctrs', bins, chi2gof created only 5 bins because the obsCounts values for the last two bins in the 'Freq...

presque 3 ans il y a | 1

Réponse apportée
Code to obtain average pixel intensities of all frames of a video with help of a single code
VideoReader supports reading all frames at once (or any number if can't hold all in memory at once); use the vectorized function...

presque 3 ans il y a | 0

| A accepté

Réponse apportée
Calculate power density function of a topographic height map (csv file) containing periodic structures
unzip https://www.mathworks.com/matlabcentral/answers/uploaded_files/1416309/Cu-Folie_Paper_8um_AR0.30_2min_230515_8xZoom_1.csv....

presque 3 ans il y a | 0

Réponse apportée
part txt file combine first two line into one line and repeat for the following next two lines.
txt=[ "2223343 MATERIAL: UNKNOWN " "1.22222e-06 1.33333e+02 1.44444e+03 5.55555e+0...

presque 3 ans il y a | 0

Réponse apportée
How to plot discrete array with colors
I looked at the vectorized version issue a little -- it doesn't work easily for the purpose because even if you create multiple ...

presque 3 ans il y a | 0

Réponse apportée
fix content .txt file (organize the inside of the .txt file)
As noted before, don't try to fix a malformed text file; create the file correctly in the first place...we'll start from the ori...

presque 3 ans il y a | 0

Réponse apportée
how use uigetfile to get file or new file
Well, there is no file of that name in the displayed directory; uigetfile does not return a file that does not already exist; th...

presque 3 ans il y a | 1

| A accepté

Réponse apportée
How do you get rid of the VariableNamingRule warning when you do want it set to modify ?
It's annoying to be constantly nagged, agreed. But, setting it explicitly doesn't affect whether it is generated or not as you'...

presque 3 ans il y a | 1

| A accepté

Réponse apportée
fix content .txt file (organize the inside of the .txt file)
You can try tYourTable=renamevars(tYourTable,{'Parameters1','Parameters2'},{'Parameters:','Values'}); writetable(tYourTable,'Y...

presque 3 ans il y a | 0

Charger plus