Question


Compiled Windows Standalone App Logfile Location and Console Visibility
Is there a way to retrieve the location of the logfile if use the -R option programmatically rather than hardcopy so can be sure...

plus d'un an il y a | 1 réponse | 0

0

réponse

Réponse apportée
Extract consecutive elements from a vector in a sliding manner
Alternatively, depending upon end use, without the explicit loop can generate the subsets directly... x=[1:6].'; n=2; slice=a...

plus d'un an il y a | 0

Réponse apportée
Long loading times using xlsread
daten_matrix = xlsread('FLL_Messdaten_100Hz.xlsx'); [~, ~, raw_head] = xlsread('FLL_Messdaten_100Hz.xlsx', 'A1:ZZ1'); column '...

plus d'un an il y a | 1

| A accepté

Question


Separate Callback Functions in AppDesigner
Having defined a callback function for an application "Quit" button, it was also assigned to be the CloseRequestFunction callbac...

plus d'un an il y a | 1 réponse | 0

1

réponse

Réponse apportée
Using Summary on a table to access just the last 2 column stats
You fell into a trap of using a routine that isn't suitable for your purposes...while summary does compute a bunch of statistics...

plus d'un an il y a | 0

| A accepté

Réponse apportée
Using Summary on a table to access just the last 2 column stats
Use the previous illustrated syntax on the summary table, too...you said you knew the columns of interest are the last two, so ...

plus d'un an il y a | 0

Réponse apportée
How can I create new rows in my table?
@Walter explained the row orientation, just a very slight recasting to the same end. Almost as easy (ten characthers added inst...

plus d'un an il y a | 0

Réponse apportée
Matlab R2021b returns exit code -1073740940 or -1073741819 when closing down
I would expect this is only solvable as to the root cause by Mathworks support; one presumes you have run hardware diagnostics o...

plus d'un an il y a | 0

Question


writetable() and formatting options implementation
If Excel spreadsheet is already formatted that includes columns with both fixed-width and autofit columns, 'PreserveFormat',1 is...

plus d'un an il y a | 1 réponse | 0

0

réponse

Réponse apportée
why i my code cant run in command window even though there is no mistake on the script editor that being uploaded
As @Stephen23 noted earlier, the code as posted here works; this Answer provides one level of checking that will let the user kn...

plus d'un an il y a | 0

Réponse apportée
How can I get unique entries and their counts and place back into the table?
Carrying on with @Stephen23's illustration of groupsummary... "...also be helpful If I can sort the counts in the counts Table ...

plus d'un an il y a | 0

Réponse apportée
Append to exisintg file column-wise, different number of rows, don't add NaNs
While old, ran across seeing if anybody had a solution for the 'Append' option to append to right of used area instead only buil...

plus d'un an il y a | 0

Réponse apportée
ERA5 average hourly data and yearly data
Use arrays and/or tables to hold multiple sets of data, not sequentially-named individual variables, then one can either loop or...

plus d'un an il y a | 2

Réponse apportée
Change variable name based on what loop it is on
While it can be done, it almost never should be the way..."there be dragons!" and slow, obfuscated and very difficult to debug c...

plus d'un an il y a | 0

Réponse apportée
Compiled app is too big with geobasemap('satellite') and I dont need all world
Perhaps <the Answer> to previous Q? about loading custom basemaps in compiled apps will help. Compiled apps are notoriously slo...

plus d'un an il y a | 0

Réponse apportée
Trying to compare datetimes in array to a separate predetermined datetime via function/for loop/if statement
What does file_name.date_only return an array of datenums or a date string? How to compare depends upon what you're trying to c...

plus d'un an il y a | 0

| A accepté

Réponse apportée
Summing two vectors with NaNs
A = [ 1 2 3 NaN NaN NaN 7 8 ]'; B = [ 1 1 1 1 NaN NaN 1 1 ]'; Check which rows are ok... isOK=isfinite(A)|isfinite(B); C=s...

plus d'un an il y a | 1

Réponse apportée
How to align multiline label and legend?
I had no luck even "handle diving" with <Yair's undocumented tool> to try to get access to the lines and/or legend text properti...

plus d'un an il y a | 0

| A accepté

Réponse apportée
Decreasing gaps between subplots
OK, I had some time to work out a method that is pretty simple...on further inspection, one can let the panes remain in their or...

plus d'un an il y a | 0

Réponse apportée
How to get the values of x axis only visible at the bottom subplots?
R=5; C=4; n=0; for r=1:R for c=1:C n=n+1; hAx(r,c)=subplot(R,C,n); if r<R, xticklabels(''), end if c>...

plus d'un an il y a | 0

Réponse apportée
Efficient access and manipulation of arrays in nested cells
The other alternative to investigate is to turn the metadata you're segregating/tracking by cell indices into real data in a fla...

plus d'un an il y a | 0

Réponse apportée
Cannot position third y-axis on the right
Just a slightly amended version; I investigated the use of some of the FEX multi-axis submittals to see if might be any simpler....

plus d'un an il y a | 0

| A accepté

Réponse apportée
Cannot position third y-axis on the right
Some minor readjustmenst to provide room inside the default figure... Can adjust just factors I picked for the reduction in wid...

plus d'un an il y a | 0

Réponse apportée
Compute acoustic roughness without calibration
acousticRoughness documenation shows the first use case without an external calibration factor so you can run the calculation. ...

plus d'un an il y a | 0

| A accepté

Réponse apportée
Loop to plot PDF over bar plot
It would be easier to be sure we understand if you would attach a .mat file with data arrays...but, here's a stab at it... What...

plus d'un an il y a | 0

| A accepté

Réponse apportée
How to make all of my heatmaps the same size?
<We answered that Q? yesterday>, @Abigail, you don't need to/should not create an empty heatmap at all; you simply pad the data ...

plus d'un an il y a | 0

| A accepté

Réponse apportée
How do I create a heatmap filled with NaN values for preset value of rows and columns?
HM=heatmap(nan(30,15)); You don't need such; just fill in an array of that size with the actual data at some point chosen for t...

plus d'un an il y a | 2

| A accepté

Réponse apportée
Smooth Data with duplicate timestamps
Smooth_table=smoothdata(time_table.Variables, "movmean", seconds(0.2)); Just don't try to specify the output sampled time and y...

plus d'un an il y a | 0

Réponse apportée
YTickFormat with no exponential notation
subplot(2,1,1) x=linspace(0,1E5); y=randn(size(x)); plot(x,y) hAx=subplot(2,1,2); plot(x,y) hAx.XAxis.Exponent=0; I don't...

plus d'un an il y a | 0

| A accepté

Réponse apportée
Legends using bodeplot with latex interpretation
which -all bodeplot bodeplot load iddata2 z2; w = linspace(0,10*pi,128); sys_np = spa(z2,[],w); sys_p = tfest(z2,2); bp = ...

plus d'un an il y a | 1

Charger plus