統計
All
Feeds
回答済み
exporting-to-excel-spreadsheets
datadir = '.'; %path to data files dinfo = dir(fullfile(datadir, '*.xslx')); filenames = fullfile({dinfo.folder}, {dinfo.name...
exporting-to-excel-spreadsheets
datadir = '.'; %path to data files dinfo = dir(fullfile(datadir, '*.xslx')); filenames = fullfile({dinfo.folder}, {dinfo.name...
1日 前 | 0
回答済み
Can I download the latest version of Matlab if I renew the maintenance service?
Updating Software Maintenance Service gives you the right to update to any version of MATLAB that is released during the time th...
Can I download the latest version of Matlab if I renew the maintenance service?
Updating Software Maintenance Service gives you the right to update to any version of MATLAB that is released during the time th...
1日 前 | 0
回答済み
Can I get the integral formula using Matlab?
syms x m n f = (1/sym(pi))*sin(n*x/2)*(pi-x)^2*sin(m*x/2); Fint = int(f,x,[0 2*pi]); limit(Fint, m, n) subs(ans, n, 1) sim...
Can I get the integral formula using Matlab?
syms x m n f = (1/sym(pi))*sin(n*x/2)*(pi-x)^2*sin(m*x/2); Fint = int(f,x,[0 2*pi]); limit(Fint, m, n) subs(ans, n, 1) sim...
3日 前 | 0
回答済み
How to make MATLAB read the environment variable JAVA_HOME
Potentially you could edit the .matlab7rc.sh file. See https://www.mathworks.com/help/matlab/ref/matlabmacos.html#bunueg9-5
How to make MATLAB read the environment variable JAVA_HOME
Potentially you could edit the .matlab7rc.sh file. See https://www.mathworks.com/help/matlab/ref/matlabmacos.html#bunueg9-5
3日 前 | 0
回答済み
Extract Text and Values from String
strs = {'AB(16.7)CD[20.6]EF[.1]', 'AB(16)CD[20.6]EF[.1]'}; for idx = 1 : length(strs) str1 = strs{idx}; info = regexp...
Extract Text and Values from String
strs = {'AB(16.7)CD[20.6]EF[.1]', 'AB(16)CD[20.6]EF[.1]'}; for idx = 1 : length(strs) str1 = strs{idx}; info = regexp...
3日 前 | 0
回答済み
How can I create new rows in my table?
t(1) = t0; y(1) = y0; for i = 1 : n y(i+1) = y(i) + h * f(t(i), y(i)); t(i+1) = t0 + i * h; fprintf('y(%.2f) = ...
How can I create new rows in my table?
t(1) = t0; y(1) = y0; for i = 1 : n y(i+1) = y(i) + h * f(t(i), y(i)); t(i+1) = t0 + i * h; fprintf('y(%.2f) = ...
3日 前 | 0
| 採用済み
回答済み
Use of parallel with RTX 5090
For the 50x0 series, you currently need to enable forward compatibility; https://www.mathworks.com/help/parallel-computing/paral...
Use of parallel with RTX 5090
For the 50x0 series, you currently need to enable forward compatibility; https://www.mathworks.com/help/parallel-computing/paral...
4日 前 | 0
回答済み
Syntax problem with command in cmd
system("C:\Program Files\Altair\2025\Compose2025\Compose_Console.bat" -e "filePath=C:/Users/pantm/OneDrive/Desktop/TEST_LCA_doub...
Syntax problem with command in cmd
system("C:\Program Files\Altair\2025\Compose2025\Compose_Console.bat" -e "filePath=C:/Users/pantm/OneDrive/Desktop/TEST_LCA_doub...
4日 前 | 1
回答済み
Matlab student version: :Error:Failed to load library 'commchan3' referenced by 'AcousticPropagationBP_Session1/Noise interference n(t)'."
Communications Systems Toolbox is not free with MATLAB and is not one of the packages bundled into the Student Suite. At the mo...
Matlab student version: :Error:Failed to load library 'commchan3' referenced by 'AcousticPropagationBP_Session1/Noise interference n(t)'."
Communications Systems Toolbox is not free with MATLAB and is not one of the packages bundled into the Student Suite. At the mo...
4日 前 | 0
回答済み
Numerical Methods for Singular systems
if i<=N_0+1; x1(:,i)=0; x2(:,i)=0; x3(:,i)=0; else d_1=floor(1.5+si...
Numerical Methods for Singular systems
if i<=N_0+1; x1(:,i)=0; x2(:,i)=0; x3(:,i)=0; else d_1=floor(1.5+si...
4日 前 | 0
回答済み
How to Confirm My MATLAB License is Educational/Student Version?
>> getenv('MLM_LICENSE_FILE') ans = '13501@10.168.71.56:13501@10.168.231.186' You are using an education license, not a stude...
How to Confirm My MATLAB License is Educational/Student Version?
>> getenv('MLM_LICENSE_FILE') ans = '13501@10.168.71.56:13501@10.168.231.186' You are using an education license, not a stude...
4日 前 | 0
| 採用済み
回答済み
Polyspace 2022a on Windows Server 2022 or 2025
Polyspace 2022a is not supported on Windows Server 2022 or 2025; only on Windows Server 2019. Whether it will work is a differe...
Polyspace 2022a on Windows Server 2022 or 2025
Polyspace 2022a is not supported on Windows Server 2022 or 2025; only on Windows Server 2019. Whether it will work is a differe...
5日 前 | 0
回答済み
Unrecognized function or variable 'transformerLayer'
transformerLayer is not supplied by Mathworks. You need something like https://github.com/malkhodari/Transformer_MATLAB/blob/ma...
Unrecognized function or variable 'transformerLayer'
transformerLayer is not supplied by Mathworks. You need something like https://github.com/malkhodari/Transformer_MATLAB/blob/ma...
5日 前 | 0
回答済み
How to find the adjecent values of zeros blocks inside a matrix
%guess: a block of 6 zeros should be treated as the first case ? mask2 = all(Data(:,2:4) == 0,2); mask5 = all(Data(:,5:7) == 0...
How to find the adjecent values of zeros blocks inside a matrix
%guess: a block of 6 zeros should be treated as the first case ? mask2 = all(Data(:,2:4) == 0,2); mask5 = all(Data(:,5:7) == 0...
6日 前 | 0
回答済み
making the graphic smaller
Generally speaking, what you would do is set the axes Position property smaller. You would probably tend to move the axes at the...
making the graphic smaller
Generally speaking, what you would do is set the axes Position property smaller. You would probably tend to move the axes at the...
6日 前 | 0
回答済み
Heatmap and surf plot of same data is looking different. Also is there a better way to 2D smooth
Notice that the heatmap shows the center of the blocks labeled 1 through 7, whereas the surf() shows 1 and 7 at the extreme edge...
Heatmap and surf plot of same data is looking different. Also is there a better way to 2D smooth
Notice that the heatmap shows the center of the blocks labeled 1 through 7, whereas the surf() shows 1 and 7 at the extreme edge...
6日 前 | 0
| 採用済み
回答済み
Does anyone know how to use an IF statement with ODE's? I am trying to create an IF statement sigma > 0 , tau > 0 if dx(3,1) > 0, dx(1,1) > 0 and sigma = 0 , tau = 0 otherwise
Do not use an if statement inside an ODE... Not unless the if statement will always follow the same branch for any one invoca...
Does anyone know how to use an IF statement with ODE's? I am trying to create an IF statement sigma > 0 , tau > 0 if dx(3,1) > 0, dx(1,1) > 0 and sigma = 0 , tau = 0 otherwise
Do not use an if statement inside an ODE... Not unless the if statement will always follow the same branch for any one invoca...
7日 前 | 1
回答済み
Getting a shorter, more simple answer as output
syms x y log4 = log(sym(4)); y=(log(x)/log4)+(log(x^2)/log4); dy=diff(y)
Getting a shorter, more simple answer as output
syms x y log4 = log(sym(4)); y=(log(x)/log4)+(log(x^2)/log4); dy=diff(y)
8日 前 | 1
回答済み
How to install a personnal toolbox for Matlab and simulink
Copying a Mathworks toolbox onto a system that is not licensed for it, is illegal. Copying a Mathworks toolbox onto a system t...
How to install a personnal toolbox for Matlab and simulink
Copying a Mathworks toolbox onto a system that is not licensed for it, is illegal. Copying a Mathworks toolbox onto a system t...
8日 前 | 0
| 採用済み
回答済み
Read .txt file with dots in filename
projectdir = '.'; %directory that contains the data dinfo = dir(fullfile(projectdir, 'xx*.txt')); filenames = fullfile({di...
Read .txt file with dots in filename
projectdir = '.'; %directory that contains the data dinfo = dir(fullfile(projectdir, 'xx*.txt')); filenames = fullfile({di...
9日 前 | 1
回答済み
Is it possible to add Interactive Tasks into App Designer
No, Interactive Tasks are specific to Live Script. You would need to build appropriate sliders and drop-down menus yourself.
Is it possible to add Interactive Tasks into App Designer
No, Interactive Tasks are specific to Live Script. You would need to build appropriate sliders and drop-down menus yourself.
9日 前 | 0
| 採用済み
回答済み
How to prevent tabulate function returning frequencies of variables that are not present in the vector?
The problem is that v1 was created as a categorical with additional categories beyond the ones populated. I do not know of an e...
How to prevent tabulate function returning frequencies of variables that are not present in the vector?
The problem is that v1 was created as a categorical with additional categories beyond the ones populated. I do not know of an e...
10日 前 | 0
回答済み
How to generate a file with ANSI encoding in MATLAB (specifically appdesigner)?
[fid, msg] = fopen(FileName, 'w', 'n', 'US-ASCII'); Note that US-ASCII only covers the first 128 characters (0 to 127), and tha...
How to generate a file with ANSI encoding in MATLAB (specifically appdesigner)?
[fid, msg] = fopen(FileName, 'w', 'n', 'US-ASCII'); Note that US-ASCII only covers the first 128 characters (0 to 127), and tha...
10日 前 | 0
回答済み
finding longest length
Consider using bwskel -- possibly with the 'MinBranchLength' option.
finding longest length
Consider using bwskel -- possibly with the 'MinBranchLength' option.
11日 前 | 0
回答済み
Change variable name based on what loop it is on
It is possible to do this. It is not possible to do this simply. We firmly recommend that you do not do this. http://www.mat...
Change variable name based on what loop it is on
It is possible to do this. It is not possible to do this simply. We firmly recommend that you do not do this. http://www.mat...
11日 前 | 0
回答済み
How to skip missing time durations in a time-series heatmap (image based figure)
imagesc(DateTime,APS_diameter,APS_data) imagesc(x,y,C) specifies the image location. Use x and y to specify the locations of th...
How to skip missing time durations in a time-series heatmap (image based figure)
imagesc(DateTime,APS_diameter,APS_data) imagesc(x,y,C) specifies the image location. Use x and y to specify the locations of th...
11日 前 | 0
回答済み
How can I know the coordinates that the aircraft has moved along the path. If i don't know the position and direction?
If you do not know the speed or time of movement, then you cannot know the position at any time after the initial conditions. ...
How can I know the coordinates that the aircraft has moved along the path. If i don't know the position and direction?
If you do not know the speed or time of movement, then you cannot know the position at any time after the initial conditions. ...
12日 前 | 0
回答済み
Scatter plot error: not enough input arguments
f_of_x = table((1 / sigma_sqrt2pi) .* euler.^(-(ESD_mu_squared / sigma_squared_two))) ; scatter(OL_All.EquivDiameter, f_of_x)...
Scatter plot error: not enough input arguments
f_of_x = table((1 / sigma_sqrt2pi) .* euler.^(-(ESD_mu_squared / sigma_squared_two))) ; scatter(OL_All.EquivDiameter, f_of_x)...
14日 前 | 1
| 採用済み
回答済み
failing to normalize columns of matrix from 0 to 1
Perhaps you want something like n = A; for ii=[2 4 6 8 10 12 14 16 18 20 22 26] n(:,ii) = (A(:,ii)-min(A(:,ii)))/(max(A(:...
failing to normalize columns of matrix from 0 to 1
Perhaps you want something like n = A; for ii=[2 4 6 8 10 12 14 16 18 20 22 26] n(:,ii) = (A(:,ii)-min(A(:,ii)))/(max(A(:...
14日 前 | 1
| 採用済み