Réponse apportée
fplot with two y-axis
You forgot to define the two variables to plot, but presuming they were defined, then yyaxis left fplot(Sp,[0.001 1000],"black...

environ 2 ans il y a | 1

Réponse apportée
How to get to Power Spectral Density from Power spectrum as shown in figure
fsine=10e6; L=10; PS=0.2; A=7.85e-11; c=3e8; dt=2e-12; V=1; n=1.45; %Index of refraction eps0=8.854e-12; % [F/m] Vacuum...

environ 2 ans il y a | 0

Réponse apportée
How to get a single output from a function with 2 inputs and 3 possible outputs depending on the choice made for inputs.
You don't want to print the matrix to mimic the other functions; what you want is to simply return them...although your function...

environ 2 ans il y a | 0

Réponse apportée
How to modify the images, were read by "dir" function?
montage returns only an montage object; not the individual images. Review the information at <Image Sequences and Batch Process...

environ 2 ans il y a | 0

Réponse apportée
why the give code doesn't meet my requirements?
angles = [-182 -185 189 184]; rem(angles,180) From the doc for rem one learns... "The concept of remainder after division is ...

environ 2 ans il y a | 0

Réponse apportée
QUARTERLY AVERAGE AND VARIANCE from MONTHLY DATA
Read the data in with readtimetable and then use retime. It even has <these common calendar timesteps builtin> for you.

environ 2 ans il y a | 0

Réponse apportée
How to resize axes programmatically within a GUI built with uifigure and uigridlayout?
Here's a start; I needed a break from other issues of the day so I began to reorganize in line with the appdesigner layout, but ...

environ 2 ans il y a | 0

Réponse apportée
I want to convert the large datetime data into double format.
datenum is/has been deprecated; use datetime instead. datenum doesn't have the precision of a datetime but the values above wi...

environ 2 ans il y a | 1

Réponse apportée
assign the fields of a structure correctly
Why is d1 in the reversed order? Why don't you make life simpler and reorder it to match (or vice versa with the table)? Faili...

environ 2 ans il y a | 0

Réponse apportée
Save imported vector array with matlab file for later use
When you close MATLAB itself??? No, when you close any application its working data are gone because the memory is released bac...

environ 2 ans il y a | 0

| A accepté

Réponse apportée
writatable row size limitation
Write to '.xlsx' file instead of '.xls' >> tX=array2table(rand(86405,16)); >> size(tX) ans = 86405 16 >> wr...

environ 2 ans il y a | 0

| A accepté

Réponse apportée
Contour plot of cubic interpolation with set number of contour levels
Xvec= [-1.8750 -1.1250 -0.3750 -1.8750 -1.1250 -0.3750 -1.8750 -1.1250 -0.3750 -1.8750 -1.1250 -0.3750 ...

environ 2 ans il y a | 0

Réponse apportée
Odd behavior using datetime
Another alternative without converting the numeric values to strings... dates = [4072016 2072016 12072016].'; y=rem(dates,10...

environ 2 ans il y a | 0

Réponse apportée
Odd behavior using datetime
Have a better mousetrap, I think... dates = string([4072016 2072016 12072016]).'; dt=datetime(pad(dates,8,'left','0'),'InputFo...

environ 2 ans il y a | 0

Réponse apportée
Can I used Unique to find unique x,y,z coordinates in table data?
load matlab whos tT=summaryTable1; clearvars -except tT head(tT) tT.Properties.VariableNames=strrep(tT.Properties.VariableN...

environ 2 ans il y a | 0

| A accepté

Réponse apportée
Odd behavior using datetime
I'm surprised the first works; it shouldn't either. See the doc for datetime <time formats>. As it notes, d Day of the m...

environ 2 ans il y a | 0

Réponse apportée
Using readtable on a csv with missing columns
f=["colA,colB,colC,colD" "1000,2000,3000" "1100,2200,3300" "1110,2220,3330" "1111,2222,3333"]; writelines(f,'tt.csv') type...

environ 2 ans il y a | 1

| A accepté

Réponse apportée
Merge multiple columns based on match rows using loop
There's <an example> of precisely that operation with synchronize and timetables

environ 2 ans il y a | 1

Réponse apportée
How to interpolate data with different sample times
Two basic choices resample in the Signal Processing TB will let you simply resample B by the ratio of the sizes with a phase-ma...

environ 2 ans il y a | 0

Réponse apportée
Technical Specification for Format Specification for fprintf, sprintf, sscanf, etc.
Mathworks does not publish their internal specifications other than the documentation. One can submit service requests for clar...

environ 2 ans il y a | 0

Réponse apportée
Add a label to a minor tick, in an inset plot
% create a plot x1 = linspace(0,1000); y1 = sin(2*pi*x1); hF=figure; ...

environ 2 ans il y a | 1

| A accepté

Réponse apportée
How to get the values of the XAxis Minor Ticks (of an inset plot)
@Gayathri recognized the underlying problem which can be very confusing because it is so erratic in what does/does not get updat...

environ 2 ans il y a | 1

Réponse apportée
Can plot markers be specified in an array?
Use the multiple-handle option with set; there are examples there. NOTA BENE the property name and the properties must be pas...

environ 2 ans il y a | 1

Réponse apportée
Count number of nucleotide bases (letters) in file with multiple entries
I'll convert the comment to an Answer because I believe it is/will be part of the required solution and is probably easier to cl...

environ 2 ans il y a | 1

Réponse apportée
Open and read unique spectrum file .spc
L=[0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]; numel(L) :The fir...

environ 2 ans il y a | 0

| A accepté

Réponse apportée
Reading Bytes from Arduino to MATLAB
I dunno how to fix the Arduino side, but the data bytes you're returning aren't the right values for the single float values 1 t...

environ 2 ans il y a | 1

Réponse apportée
Combined 2 files .dat with different size
"but i want to combine 2 files in one file .dat the Problem it's the Two files has different size" You already told us that, b...

environ 2 ans il y a | 1

| A accepté

Réponse apportée
Increasing the line width of box plot whiskers
... hBx=findobj('Tag','boxplot'); % the boxplot group handle hBx=find(hBx.Children,'-not','Tag',...

environ 2 ans il y a | 0

Réponse apportée
uitable copy function allowing for numerical values of mixture of of numbers and chars.
I'd go at it a little bit differently, although I just discovered the clipboard only takes one line of text so one does have to ...

environ 2 ans il y a | 0

| A accepté

Charger plus