回答済み
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年以上 前 | 0

| 採用済み

回答済み
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年以上 前 | 0

回答済み
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年以上 前 | 0

| 採用済み

回答済み
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年以上 前 | 0

回答済み
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年以上 前 | 0

回答済み
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年以上 前 | 0

質問


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年以上 前 | 1 件の回答 | 0

1

回答

回答済み
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年以上 前 | 1

質問


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年以上 前 | 1 件の回答 | 1

1

回答

回答済み
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年以上 前 | 0

回答済み
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年以上 前 | 1

| 採用済み

回答済み
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年以上 前 | 1

| 採用済み

回答済み
How to check trend in two dataset?
Try corr for starters...

3年以上 前 | 0

回答済み
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年以上 前 | 0

| 採用済み

回答済み
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年以上 前 | 0

回答済み
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年以上 前 | 0

| 採用済み

回答済み
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年以上 前 | 0

回答済み
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年以上 前 | 0

回答済み
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年以上 前 | 0

| 採用済み

回答済み
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年以上 前 | 1

| 採用済み

回答済み
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年以上 前 | 0

回答済み
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年以上 前 | 1

| 採用済み

回答済み
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年以上 前 | 0

| 採用済み

回答済み
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年以上 前 | 1

| 採用済み

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

3年以上 前 | 0

回答済み
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年以上 前 | 1

回答済み
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年以上 前 | 1

| 採用済み

回答済み
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年以上 前 | 0

回答済み
Timeline plot of GPS (Latitude and Longitude) data - Plot GPS overtime.
tT.Time=datetime(tT.Year, tT.Month, tT.Day, tT.Hour, tT.Minute, tT.Sec); plot(tT.Time, tT{:,{'Latitude', 'Longitude', 'Altitude...

3年以上 前 | 0

| 採用済み

回答済み
How to use a vector as an input in a function?
Carrying on from @Matt's comment above... Is it really going to be more convenient to assemble all the elements into one long v...

3年以上 前 | 1

| 採用済み

さらに読み込む