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

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

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

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

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

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

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

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

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

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

3 years ago | 1

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

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

3 years 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 =...

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

3 years ago | 1

| accepted

Answered
How to check trend in two dataset?
Try corr for starters...

3 years ago | 0

Answered
Error using pwelch - Expected x to be finite.
x=load('\\fs01.hpc.unipr.it\bonini01\WIRELESS_Wifi_Router_Impianti2021\Acquisizioni Deuteron\ProvaHyper_20220915_M1\LFP1.mat'); ...

3 years ago | 0

| accepted

Answered
Sum of columns in a mxn Matrix on matlab
s=column_sum(A,cl+1); Will crash if pass cl > size(A,1) as there's no error checking for cl being out of range. As for the...

3 years ago | 0

Answered
Save a stream of bytes into a zip file
PKZip was/is shareware, it should be possible to turn the code for it into a callable mex file that works from memory; it's quit...

3 years ago | 0

| accepted

Answered
How to extrapolate an x value from a fitting curve?
xvalues = [10; 12; 22; 28]; yvalues = [1; 2; 3; 4]; % Fit model to data. [fitresult, gof] = fit( xvalues, yvalues, 'linearint...

3 years ago | 0

Answered
Data in multiple separate .xlsx sheets and move to only one .xlsx sheet
%fn=websave('cpc_global_precip_precip.2020.xlsx','https://www.mathworks.com/matlabcentral/answers/uploaded_files/1166433/cpc_glo...

3 years ago | 0

Answered
plotting an array in frequency domain
L=numel(t); % how long is t vector??? f = Fs*(0:L-1); % zero-based frequency of same number elements NOTA BENE:: T...

3 years ago | 0

| accepted

Answered
How to run an external Matlab(.m) files and call its functions from an application code-view file?
See <class-definition-and-organization> area in the docs -- you package your classes so your application can import them and the...

3 years ago | 1

| accepted

Answered
How to fix error about interp1?
From the description it appears you have only 5 unique values in wdepth(:,1). As the doc and the error message say, interp1 can...

3 years ago | 0

Answered
Vectorize for-loop with indexing
S=accumarray(idx(:),B(:)); See accumarray for all the many permutations that can be made... An alternative using grouping va...

3 years ago | 1

| accepted

Answered
how to delete decimal places
'Pends. You mean just at the display or in the actual data? If it's for the display, there isn't an "integer" format option; '...

3 years ago | 0

| accepted

Answered
Specify output data type of "find" function
" Is there something akin to the "like" functionality [in find]...?" No. Everything numeric including indices in MATLAB is a d...

3 years ago | 1

| accepted

Answered
Replace String in Table if Substring is Found
id=["Broken statuette", "Terracotta statuette","Statuette"]; % the variable valset=[id,"Other Stuff"]; ...

3 years ago | 0

Answered
How to calculate the daily and yearly mean of a temperature dataset
Read as timetable and then use retime. About 2-3 lines of code each should do it.

3 years ago | 1

Answered
What codes do I have to use to determine if the data are Gaussian distributed?
MATLAB implements jbtest and adtest in the Statistics TB. My personal preference is to use the Shapiro-Wilk test. See <NIST Ha...

3 years ago | 1

| accepted

Answered
Bar to variation a parameter into script
No real idea what the above is asking for, specifically, but... V=[0.15;500;21]; Y=categorical({'kp','ki','kd'}); barh(Y,V,0....

3 years ago | 0

Load more