Réponse apportée
How to display a vector in edit text in MATLAB?
By default it appears the Edit control converts an array to a column array of values and you can't display that in one row...if ...

presque 7 ans il y a | 0

Réponse apportée
remove first element in cell and do not change index of other element
You're overthinking the problem...the first index is always 1... >> cellfun(@(a) 2:numel(a),A,'uni',0) ans = 1×3 cell array...

presque 7 ans il y a | 0

| A accepté

Réponse apportée
a big cell array
Follow the documentation--for xlswrite, every cell element has to be a single value. So, if your array has cells (or any single...

presque 7 ans il y a | 0

Réponse apportée
List combinations and count how many it appears
y=Y(W~=0,:); z=unique(sort(cell2mat(arrayfun(@(i) nchoosek(y(i,y(i,:)~=0),2),1:size(y,1),'uni',0).'),2),'rows'); nZ=arrayfun(@...

presque 7 ans il y a | 1

Réponse apportée
How to replace all 1x1 cells containing 'NAN' with 'NaN'?
opt=detectImportOptions('Equinor.txt'); t=readtable('Equinor.txt',opt); >> t.TIMESTAMP=datetime(t.TIMESTAMP,'InputFormat','uuu...

presque 7 ans il y a | 0

| A accepté

Réponse apportée
How to obtain the unique combinations of two columns in a table
year = [1994, 1994, 1994, 1995, 1995, 1995, 1996, 1996, 1996].'; type = {'AA', 'BB', 'CC', 'BB', 'BB', 'BB', 'AA', 'CC', 'CC'}....

presque 7 ans il y a | 0

| A accepté

Réponse apportée
Relative frequency y-axis using the histfit function
IIUC, N1=sum(h1(1).YData); N2=sum(h2(1).YData); h1(1).YData=h1(1).YData/N1; h1(2).YData=h1(2).YData/N1; h2(1).YData=h2(1).Y...

presque 7 ans il y a | 0

| A accepté

Réponse apportée
Total Hour Conversion to Date and Time
t=readtable('hc07.xlsx'); leaves me with >> t(1:5,:) ans = 5×21 table RECORDED CH04_HC07_CZ_SD_Cor...

presque 7 ans il y a | 1

Réponse apportée
How to replace all 1x1 cells containing 'NAN' with 'NaN'?
>> load bin1 >> whos bin1 Name Size Bytes Class Attributes bin1 8396x1 112268...

presque 7 ans il y a | 1

Réponse apportée
thresholding for multiple values
t1=meadian(Gbird(:)); median is misspelled... What do you want/expect as a result? Logicals don't work that way; you'll have ...

presque 7 ans il y a | 0

Réponse apportée
How to convert a string to number in gui
Aha! OK, now I see the problem...indeed, '10' is a 1x2 char array and so it is a vector and the short-circuit logical operators...

presque 7 ans il y a | 0

| A accepté

Réponse apportée
FOR Loop _ Sum columns in Excel
As one alternative solution to S S, there's the readtable route... t=readtable('BPAQ.xlsx'); ...

presque 7 ans il y a | 1

Réponse apportée
datetick gives me errors
You don't show definition of X, but datetick works only for axes drawn with datenum which is a double. But, datenum is old and...

presque 7 ans il y a | 0

Réponse apportée
error bars plotting only on one side of the data points on a semi log plot
Check and you'll find the lower limit for those not plotted is <0 which can't be represented on log axis.

presque 7 ans il y a | 1

| A accepté

Réponse apportée
Can I plot a cfit object and specify the LineSpec using name/value pairs?
No, TMW didn't implement the named parameter interface in the cfit class plot() method. Another example of not following the ge...

presque 7 ans il y a | 0

| A accepté

Réponse apportée
is this is a bug for fft program?
See the documentation for doc transpose % .' doc ctranspose % ' You're transposing the output of the fft() which is complex;...

presque 7 ans il y a | 1

| A accepté

Réponse apportée
How to extract certain column of date-time data from a text file?
And, w/ all you considered, you neglected probably the easiest... :) Putting your first sample data into a file I named 'jie.da...

presque 7 ans il y a | 0

| A accepté

Réponse apportée
Why are spaces ignored when a character string is scanned?
WAD (Working As Documented). From the documentation-- .... This table lists available conversion specifiers for character inp...

presque 7 ans il y a | 0

Réponse apportée
How can I rename a colum? How can I show several matrices/vectors within one Boxplot?
use optional named labels parameter--boxplot(z,'labels',{'A','B','C','D'}) boxplot([base testing resting]) % each is assumed to...

presque 7 ans il y a | 0

Réponse apportée
How can I include Tukey (HSD) result in my boxlpot as "a" and/or "b" indicating whether there is a significant difference or not between the groups?
Kinda' a fun one... :) First, make sure your boxplot is gca, then the following seems to be pretty robust...the one probably un...

presque 7 ans il y a | 1

| A accepté

Réponse apportée
How to define the variable which contain multiple double data?
You were almost there...since each element in the struct array has just 2 columns, they can be catenated vertically--so convert ...

presque 7 ans il y a | 0

| A accepté

Réponse apportée
How to create new .txt files named like the saved models in a folder and show Diag. View. information of each model in these files seperately?
Oh, probably more nearly what you're looking for would be something otoo-- PATH = 'C:\Users\xxx\Documents\Saved_Models'; dSlx ...

presque 7 ans il y a | 0

| A accepté

Réponse apportée
getting this message "Operands to the || and && operators must be convertible to logical scalar values." trying to allocate a value to a cell.
app.HSV =0:15; % app.HSV app.tcof = 0:400000; app.invf =0:1; are all vect...

presque 7 ans il y a | 0

| A accepté

Réponse apportée
I need to help with this code error in undefined function or variable 'ArrayRT1' and plot (ArrayRT1,ArrayRT,2ArrayRM1,ArrayRM2) ,grid
I run your code and find-- ... RTM = 40000 Undefined function or variable 'ArrayRT1'. Exploring, one finds th...

presque 7 ans il y a | 0

Réponse apportée
Does intrp2 provide 'bicubic' interpolation ?
The 'cubic' method for interp2 is bicubic; it just uses the word 'cubic' to keep consistency in interface with interp1 I don't ...

presque 7 ans il y a | 0

Réponse apportée
Extract and replace data in the middle of a large text file
I don't suppose is a fixed-length record file by any chance, is it? You can, of course, have grep return the byte offset to the...

presque 7 ans il y a | 0

| A accepté

Réponse apportée
Switch case option valid for two cases?
But, presuming 'ps' means to do both 'p' and 's', you need that case as well as written anyway because in Matlab the switch bloc...

presque 7 ans il y a | 0

| A accepté

Réponse apportée
Finding Particular Values In 3D Plots
"... finding the average value of the data in the z-direction throughout all time (i.e. the average z-value for the 1000 frames)...

presque 7 ans il y a | 1

| A accepté

Réponse apportée
Heatmap font size. Can you change axis and cell label fonts independently?
>> hHM = heatmap(tbl,'Smoker','SelfAssessedHealthStatus'); >> hHM==gca ans = logical 1 >> So, the Answer to the Q? i...

presque 7 ans il y a | 0

Réponse apportée
How to conditionally assign characters for a new column in a table
Expanding a little on Walter's comment... Lat = [49, 50, 51, 52].'; % create the right orientation in t...

presque 7 ans il y a | 0

| A accepté

Charger plus