Answered
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...

11일 ago | 1

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

11일 ago | 1

Answered
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 ...

11일 ago | 0

Answered
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...

12일 ago | 0

| accepted

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

12일 ago | 1

Answered
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...

12일 ago | 0

Answered
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.

12일 ago | 1

| accepted

Answered
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...

12일 ago | 0

| accepted

Answered
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;...

13일 ago | 1

| accepted

Answered
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...

13일 ago | 0

| accepted

Answered
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...

13일 ago | 0

Answered
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...

14일 ago | 0

Answered
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 ...

14일 ago | 0

| accepted

Answered
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 ...

15일 ago | 0

| accepted

Answered
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...

15일 ago | 0

| accepted

Answered
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...

15일 ago | 0

Answered
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 ...

16일 ago | 0

Answered
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...

17일 ago | 0

| accepted

Answered
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...

17일 ago | 0

| accepted

Answered
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)...

18일 ago | 1

| accepted

Answered
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...

18일 ago | 0

Answered
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...

18일 ago | 0

| accepted

Answered
Label contour plot elevation marking with text
By using clabel instead, yes...but takes some munging-on there, even. Using the example from countour as starting point-- x = ...

18일 ago | 0

| accepted

Answered
Plot matrix with columns of same color
You mean x=1:100; y=randi(420,numel(x),4); c={'r','g','b','k'}; figure hAx=axes; hold on xlim([0 11]) arrayfun(@(i) plot...

18일 ago | 1

| accepted

Answered
How to write elements of a nested cell array to an excel?
Since all aren't same size, the trivial solution of xlswrite(cell2mat(WS)) is out unless you augment the shorter to the length...

20일 ago | 0

Answered
generate a sequence from matrix
Interesting...kinda' cute solution...altho note that the suggested answer is wrong; the minimum for row 7 is the 3 in column 2, ...

20일 ago | 0

| accepted

Answered
How to truncate textscan reading
You can't on read. Just round() the data to whatever precision you want after reading it in. x=round(x,1,'significant'); See ...

20일 ago | 0

| accepted

Answered
A Peak in y-axis dwarfing the other plot points
You have basically one of three choices -- Set ylim where you want it and let the rest of the graph go off the top and not be s...

20일 ago | 1

| accepted

Answered
display every value of a matrix in histogram
Ah! The question isn't about a histogram at all...or, it is, but not a histogram of the data but just plot the counts computed ...

20일 ago | 0

| accepted

Answered
create matrix from other two matrices
t=reshape([reshape(temp_n1,8,[]);reshape(temp_n2,3,[])],[],1);

21일 ago | 0

| accepted

Load more