Community Profile

photo

dpb


Last seen: Today Active since 2012

Statistics

All
  • Revival Level 2
  • First Review
  • Master
  • Thankful Level 3
  • 36 Month Streak
  • Knowledgeable Level 5
  • First Answer
  • Solver

View badges

Content Feed

View by

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

7 dagar ago | 1

| accepted

Question


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

10 dagar ago | 0 answers | 0

0

answers

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

12 dagar ago | 0

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

13 dagar ago | 0

| accepted

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

16 dagar ago | 0

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

17 dagar ago | 0

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

19 dagar ago | 0

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

20 dagar ago | 1

| accepted

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

21 dagar ago | 0

Answered
ceil at specified decima
>> ceil(x/10)*10 ans = 1240.00 >>

21 dagar ago | 0

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

21 dagar ago | 0

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

21 dagar ago | 0

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

22 dagar ago | 0

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

23 dagar ago | 0

| accepted

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

26 dagar ago | 1

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

ungefär en månad ago | 0

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

ungefär en månad ago | 0

Question


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

ungefär en månad ago | 1 answer | 0

1

answer

Answered
How do I plot lines/points on top of a heatmap?
More About section for heatmap includes the following disclaimer -- Standalone Visualization A standalone visualization is a...

ungefär en månad ago | 0

| accepted

Answered
How to use timetable function to insert it into data cleaner app ?
load(websave('a.mat','https://www.mathworks.com/matlabcentral/answers/uploaded_files/1178268/a.mat')) Fs=1; % assume ...

ungefär en månad ago | 0

Answered
How can I add animation on the existing subplots?
I've got more going on at the moment than have time to deal with the synchronization issue, but the animated line in an existing...

ungefär en månad ago | 0

| accepted

Answered
for loop on all the lines of text
fidI=fopen('TARGETOLD.txt'); % Input file fidO=fopen('_modified.txt','w'); % Output file fid=fopen('HeadScri...

ungefär en månad ago | 0

Answered
for loop on all the lines of text
No loop needed, at least initially... C=readlines('TARGETOLD.txt'); idx=contains(C,';TIME_ELAPSED:'); E=C(idx); Now, what do...

ungefär en månad ago | 0

Answered
AppDesigner Packaging Data Files Location
OK, in the end I did as the above suggestion from @Mario Malic -- used %LOCALAPPDATA% root and the app creates a subfolder for i...

ungefär en månad ago | 0

Question


AppDesigner Packaging Data Files Location
Packaged an EXE with MATLAB Compiler -- on install, accepted default location and let it put a shortcut on the desktop. That we...

ungefär en månad ago | 1 answer | 0

1

answer

Answered
Format ToolTip strings in AppDesigner
Just got to this point myself after seeing Yair's example for GUIDE controls -- another step backwards in abilities; in R2020b i...

ungefär en månad ago | 0

Question


UIPUTFILE Documentation Innaccurate/Change Warning Dialog?
The doc for returned file argument for uiputfile says in part... If the user specifies an existing file name, then a warning di...

ungefär 2 månader ago | 1 answer | 1

1

answer

Answered
How to Search a struct array?
With the ID field being a string, probably the easiest syntax is simply ID=="864475047572713"; idx=find(matches([alldata.ID],I...

ungefär 2 månader ago | 0

Answered
How can I fix this?
Don't alias the builtin sqrt function by assign a value to it and thereby turning the reference to sqrt into a variable. sqrt =...

ungefär 2 månader ago | 1

| accepted

Answered
How to split the table selectively and create another table by giving new column names?
Well, I had a full, long executing example that ran but then the forum page crashed -- I'm too lazy to try to redo that whole th...

ungefär 2 månader ago | 1

| accepted

Load more