回答済み
How would I change the output values on the initialplot graph?
sys = ss([0, tf([3 0],[1 1 10]) ; tf([1 1],[1 5]), tf(2,[1 6])]); x0 = [0.3,0.25,1,4]; ip = initialplot(sys,x0); ip.OutputLab...

8ヶ月 前 | 1

| 採用済み

回答済み
Readtable and Readmatrix Ignore Specified Range and Produce Extra Variables
d=dir('*.csv'); opt=detectImportOptions(d.name); tin=readtable(d.name,'Range','C2:C3','ExtraColumnsRule','ignore') I don't kn...

9ヶ月 前 | 0

回答済み
Why does times(A,B) gives me negative values when A and B don't have any ???
mustBePositive(0) shows that zero is not considered positive by mustBePositive. You don't give any klews as to what the magnit...

9ヶ月 前 | 2

回答済み
search text in arraycell
newStr = extractBetween(data,"[Wsp]","[Wsp\DetachedWindows]") extractBetween searches in a given string, not between members of...

9ヶ月 前 | 0

回答済み
Warning: Error updating FunctionLine in using fplot
function [rt] = Ttr(r) C1=[1; 1-r; 0; r; 0; 0; 0; 0]; P1=[2; 3; 0; (1-2*r)/(1-r); (1-2*r)/(1-r); 0; r/(1-r)*sqrt(1-2*r...

10ヶ月 前 | 1

| 採用済み

回答済み
xcorr raw time series vs normalized time series
DS=readmatrix('DS.csv'); SS=readmatrix('SS.csv'); DS(:,2) = -DS(:,2); %c1 = corr(DS(:,2),SS(:,2)) DSnorm = (DS(:,2)-mean...

10ヶ月 前 | 0

回答済み
help with maintaining order of values when removing NANs and converting matrix to column vector
Well, let's find out... load A load B C=[A(:) B(:)]; % combine the two as column vectors ixBoth=nnz(all...

10ヶ月 前 | 0

| 採用済み

回答済み
Is it possible to get the version number of a compiled program inside the program? I am using the Application Compiler.
C:\>wmic /? WMIC is deprecated. [global switches] <command> ... "Starting January 29, 2024, you'll find Windows Manageme...

10ヶ月 前 | 0

| 採用済み

質問


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

10ヶ月 前 | 0 件の回答 | 0

0

回答

回答済み
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...

10ヶ月 前 | 0

回答済み
Long loading times using xlsread
daten_matrix = xlsread('FLL_Messdaten_100Hz.xlsx'); [~, ~, raw_head] = xlsread('FLL_Messdaten_100Hz.xlsx', 'A1:ZZ1'); column '...

10ヶ月 前 | 1

| 採用済み

質問


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

10ヶ月 前 | 1 件の回答 | 0

1

回答

回答済み
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...

10ヶ月 前 | 0

| 採用済み

回答済み
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 ...

10ヶ月 前 | 0

回答済み
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...

11ヶ月 前 | 0

回答済み
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...

11ヶ月 前 | 0

質問


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

11ヶ月 前 | 0 件の回答 | 0

0

回答

回答済み
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...

11ヶ月 前 | 0

回答済み
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 ...

11ヶ月 前 | 0

回答済み
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...

11ヶ月 前 | 0

回答済み
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...

11ヶ月 前 | 2

回答済み
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...

11ヶ月 前 | 0

回答済み
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...

11ヶ月 前 | 0

回答済み
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...

11ヶ月 前 | 0

| 採用済み

回答済み
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...

11ヶ月 前 | 1

回答済み
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...

11ヶ月 前 | 0

| 採用済み

回答済み
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...

11ヶ月 前 | 0

回答済み
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>...

11ヶ月 前 | 0

回答済み
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...

11ヶ月 前 | 0

回答済み
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....

11ヶ月 前 | 0

| 採用済み

さらに読み込む