回答済み
How to reset the label range for a heatmap?
Sure. Use the alternate form for pcolor with the requested X, Y coordinates... C=I2disp([1:end,end],[1:end,end]; % a tem...

3年以上 前 | 0

| 採用済み

回答済み
How to index a specific column in a Cell
Dereference the cell, then index into the resulting array... c=[{[[0:3].' rand(4,1)]} {[10+[0:3].' rand(4,1)]}] c{2}(:,1) ...

3年以上 前 | 0

| 採用済み

回答済み
Why is pause function so inaccurate on Windows?
pause uses the Windows default system timer which is 15 msec unless a high resolution timer has been user-created/set. So, you...

3年以上 前 | 2

| 採用済み

回答済み
What is missing from MATLAB #2 - the next decade edition
Maybe there's a way I've not found, but I wish arrayfun and cellfun would have automagic argument expansion so one could pass ot...

3年以上 前 | 1

質問


Preventing Early User Closing of Application
If the application is busy doing its thing, before it goes off and starts can disable the various buttons to prevent trying to s...

3年以上 前 | 1 件の回答 | 0

1

回答

回答済み
I have 24 hours data for one day. How to merge 3 hours into one bar plot?
Try the following for starters... data=repmat(randi(10,50,1),1,3).'; data=data(:); % data similar to yours with 3 repeat...

3年以上 前 | 0

| 採用済み

回答済み
How can I increase x-axis ticks by 5 while the limit is auto?
Don't remember otomh whether it will affect the auto-range setting or not, but to solve the above issue about range, use somethi...

3年以上 前 | 0

| 採用済み

回答済み
AppDesigner How do you load a .mat table and refer to its variables
The problem is in the form of load you used with a LHS assignment variable -- that creates a struct containing the data in the ....

3年以上 前 | 0

回答済み
how to sort within the cell array
>> [~,ix]=sort(cell2mat(tmp(:,1))); >> tmp=tmp(ix,:) tmp = 3×2 cell array {[ 0]} {'b'} {[ 0]} {'b'} ...

3年以上 前 | 0

| 採用済み

回答済み
How to check all same numbers in any row.
Just how you write can depend on whether you're changing elements within a given row and want to stop that iteration over the ro...

3年以上 前 | 0

| 採用済み

回答済み
Storing a matrix in a file.
array(i)=finalLSF; tries to stuff the RHS into a single array location where finalLSF was defined as whatever the result of ...

3年以上 前 | 0

回答済み
How to read text data for a given pattern?
Always much better if you'll attach a section of the file for folks to work with...but try something like file=readlines('yourf...

3年以上 前 | 0

| 採用済み

回答済み
Different output for find(X) and find(X<5)
find returns the values of the input argument referenced by the returned indices into the (temporary) array. In the second case...

3年以上 前 | 1

| 採用済み

質問


Struct dynamic addressing syntax
Will provide the example to illustrate -- have two field names, say 'Income' and 'Expense' which are subaccounts of many parent ...

3年以上 前 | 0 件の回答 | 0

0

回答

回答済み
What is missing from MATLAB #2 - the next decade edition
read/writetable from/to Excel workbooks should be able to return/write the comment (now called something else, I forget what) fi...

3年以上 前 | 1

回答済み
Merge parts that make up the string
S=string(['A':'E'].'); % an arbitrary array of strings join(S,"_") % join with underscore charac...

3年以上 前 | 0

| 採用済み

回答済み
How can I find numeric values (stored as strings) in table of strings and convert them to double?
Well, against better judgement, if are adamant about not fixing the problem at its core, then given the previously stated condit...

3年以上 前 | 0

回答済み
Extracting data into different variables
"...could I extract each data of a specific country into a variable?" You could do that, but don't -- use grouping variables or...

3年以上 前 | 0

回答済み
creating a look up table to compare datetime stamps
Read all about <MATLAB timetable> here. It has all the tools ready-built for you...

3年以上 前 | 0

回答済み
Match the entries ?
Look at categorical for your name variable and then either use "==" or the string matching functions such as matches for multipl...

3年以上 前 | 1

| 採用済み

回答済み
Datetime to string format issue
>> datetime(start,'InputFormat','yyyy-MM-dd''T''HH:mm:ss') ans = datetime 06-Sep-2022 >> datetime(start,'InputFormat',...

3年以上 前 | 0

回答済み
ceil at specified decima
>> ceil(x/10)*10 ans = 1240.00 >>

3年以上 前 | 0

回答済み
Finding average data from a large data matrix
tData=array2table(X.','VariableNames',{'Year','Month','Day','Data'}); tMonthAvg=rowfun(@mean,tData,'GroupingVariables',{'Month'...

3年以上 前 | 0

回答済み
how to make a 3x3 matrix a 9x1 matrix?
Transpose first... x=reshape(x.',[],1);

3年以上 前 | 0

回答済み
how to separate columns from txt file
Use the force, uh, er, detectImportOptions, @Venkatkumar M... opt=detectImportOptions('r4.4u_db.txt','NumHeaderLines',1,'Delimi...

3年以上 前 | 0

回答済み
how to recreate excel table in matlab
C=readmatrix('esempio.xlsx','Sheet','coord'); % get inputs... L=readmatrix('esempio.xlsx','Sheet','lambda'); N=size(L,2)...

3年以上 前 | 0

| 採用済み

回答済み
Does findpeaks only provide one output?
You apparently have downloaded either another function or app that has aliased the MathWorks-distributed findpeaks routine. The...

3年以上 前 | 1

回答済み
Index an array using specific indices
Well, if size N = 107199 while s is of size 1x518, then 107199 > 518 so any location in x past numel(s) is going to be an out of...

3年以上 前 | 0

回答済み
Compiled app startup splash screen display
The <following> (from 2016 with the Answer/Comment just a month ago) didn't pop up in my meager looking before posting seems to ...

3年以上 前 | 0

質問


Compiled app startup splash screen display
When starting compiled app, the splash screen comes up for a (very) brief time, then goes black -- but it takes quite a long tim...

3年以上 前 | 1 件の回答 | 0

1

回答

さらに読み込む