Statistics
RANK
1
of 298,350
REPUTATION
138,060
CONTRIBUTIONS
37 Questions
61,047 Answers
ANSWER ACCEPTANCE
48.65%
VOTES RECEIVED
18,734
RANK
of 20,571
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
My 6x6 symbolic Jacobian matrix is massive, and matlabFunction( ) is having trouble writing the corresponding numerical function file.
Use children() to get a 6 x 6 cell array (or simply loop over the contents of the array); matlabFunction() each one seperately ....
6 hours ago | 0
Change variable value in the workspace using switch
Send the output of the Switch block into a To Workspace block.
7 hours ago | 0
Inverting an 8x8 symbolic matrix
Start with a generic symmetric matrix, A11 A12 A13 A14 ... A18 A12 A22 A23 A24 ... A13 A23 A33 A34 ... inv() that. Expect it...
1 day ago | 1
How can I find the installation path for Simulink Support Package for Arduino Hardware
matlabshared.supportpkg.getSupportPackageRoot() It will be in a directory underneath there. In particular, ./3P.instrset/ardu...
2 days ago | 0
I have matlab2022b update10 installed, how do I install matlab2022b update6 instead?
https://www.mathworks.com/downloads/ . Select R2022b near the upper left side. Now, in the upper middle, select the "I want t...
2 days ago | 0
exporting-to-excel-spreadsheets
datadir = '.'; %path to data files dinfo = dir(fullfile(datadir, '*.xslx')); filenames = fullfile({dinfo.folder}, {dinfo.name...
3 days ago | 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...
4 days ago | 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...
5 days ago | 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
5 days ago | 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...
5 days ago | 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) = ...
5 days ago | 0
| accepted
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...
6 days ago | 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...
6 days ago | 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...
6 days ago | 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...
6 days ago | 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...
6 days ago | 0
| accepted
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...
7 days ago | 0
Unrecognized function or variable 'transformerLayer'
transformerLayer is not supplied by Mathworks. You need something like https://github.com/malkhodari/Transformer_MATLAB/blob/ma...
7 days ago | 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...
8 days ago | 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...
8 days ago | 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...
9 days ago | 0
| accepted
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...
9 days ago | 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)
10 days ago | 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...
11 days ago | 0
| accepted
Read .txt file with dots in filename
projectdir = '.'; %directory that contains the data dinfo = dir(fullfile(projectdir, 'xx*.txt')); filenames = fullfile({di...
11 days ago | 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.
11 days ago | 0
| accepted
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...
12 days ago | 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...
13 days ago | 0
finding longest length
Consider using bwskel -- possibly with the 'MinBranchLength' option.
13 days ago | 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...
14 days ago | 0