Answered
function name as a variable
variablefun('fun2') function variablefun(fun) eval(fun) function fun1 disp('fun1 here') end func...

11 months ago | 0

| accepted

Answered
Can I get notification when a new version (e.g., 2025a) is released?
If you signed up for R2025a pre-release, then you will get an email notification of actual release. However, the email notifica...

11 months ago | 0

Answered
Drawing Bessel function is not possible in that it give me an error
x=0:0.01:5 That is a row vector of length 501. i=0:1*10^6 That is a row vector of length 1000001 j=sum((((-1).^i)/(factorial...

11 months ago | 1

Answered
how can i solve this problem Undefined function or variable 'getPIDLoopResponse'
getPIDLoopResponse() is part of the Control System Toolbox from R2019a and later. The fact that tf() and pidtune() work for you...

11 months ago | 0

Answered
how to display both a text and a userInput on mask using system object?
maskDisplay = [ ... 'image(''logo1.png'');' ... % Show an image 'disp("My Text', UserInput, '"');' ];

11 months ago | 0

Answered
Addressing figure calls to UIAxes in App Designer
You cannot do it by implementing a figure object that is not a seperate figure. "apps" are figure objects that have behaviour at...

11 months ago | 0

| accepted

Answered
How to install Graph Neural Networks Toolbox on MATLAB2024b
GNN Toolbox is perhaps https://www3.diism.unisi.it/~franco/Research/GNNDownload.php The provided manual describes: The toolbo...

11 months ago | 0

Answered
InputFormat not working when reading excel dates with readtable
The first field of the file is not text that can be parsed. The first field of the file is in Excel numeric format, which is "se...

11 months ago | 0

| accepted

Answered
change numbers 9.95 and 11.32 to strings '09.95' and '11.32'
sprintfc('%05.2f', [9.95 11.32]) compose('%05.2f', [9.95 11.32]) compose("%05.2f", [9.95 11.32])

11 months ago | 1

| accepted

Answered
Problem with Unpack Block
The values in the display of Message are consistent with the UDP packet being text data instead of binary data. For example the ...

11 months ago | 0

Answered
Matlab shows up twice on dock in macOS
This is normal for a range of MATLAB versions ending with R2024b (does not happen with R2025a Pre-release) I seem to recall tha...

11 months ago | 0

| accepted

Answered
How to solve "Dot indexing is not supported for variables of this type...."?
What happens if the command returns empty because no matching lines, ports, or annotations were found? https://www.mathworks.co...

11 months ago | 0

Answered
Hello mathwork ...plz I want activation key for matlab 2018
Visit https://www.mathworks.com/mwaccount/?s_tid=user_nav_myac . Click on the license number that you wish to activate. In the p...

11 months ago | 0

Answered
What are faster alternatives than fread for costumn import patterns?
After the reading of temp.nPoint, bytes = fread(file_id, 11*nPoint, '*uint8'); indices_uint32 = uint32(bytes(1:11:end))*16^0 +...

11 months ago | 0

Answered
How to install a Matlab toolbox mltbx global?
You can assign a path to settings().matlab.addons.InstallationFolder.PersonalValue = PATH to affect the directory for Add-Ons....

11 months ago | 0

Answered
Name legend on graph with a second y axis
T_4340_ASM = [ 205 315 425 540 650] S_u_4340_ASM = [ 1980 1760 1500 1240 1020] S_y_...

11 months ago | 1

| accepted

Answered
Simplify the V/I equation
Use the usual trick of substition of variables. If x/y = z then it follows that x = y*z so substitute in y*z for x and solve for...

11 months ago | 1

| accepted

Answered
Problem with Runtime 24.1
No, it sound be enough for 24.1 runtime to have been normally installed.

11 months ago | 0

| accepted

Answered
grey and fuzzy TOPSIS
Fuzzy TOPSIS MATLAB code is available from https://github.com/simoG265/FuzzyTopsis

11 months ago | 0

Answered
How to Apply Fuzzy TOPSIS on Array of Data stored in Excel File
There is no MATLAB toolbox that allows you to apply FUZZY TOPSIS to excel files. There are only a small number of routines that...

11 months ago | 0

Answered
How to find the parento front of ordered pairs?
T = sortrows([ThingOne(:), ThingTwo(:)]); [~, locs] = findpeaks(T(:,2)); front = T(locs, :);

11 months ago | 0

Answered
How to perform definite integration with non-commutable symbolic coefficients?
Crucially the qw terms are not commutable so cannot be factored out of the integrals. The only way to enter non-commutable term...

11 months ago | 0

| accepted

Answered
Matrices do not have the same number of columns
A = [ zeros(5,5) eye(5); -inv(M)*K -inv(M)*C ]; That has 10 columns -- 5 of zeros and 5 of eye C = 0.002; %N-s/m %damping cons...

11 months ago | 0

Answered
I can't get my color bar to be the range that I want it at.
On the scale of 10^4 to 10^7, 10^4 occupies 1/1000 of the range. Starting at 10^4 is a 1 to 2 pixel difference. Notice the colo...

11 months ago | 0

Answered
Syms, fit and integral in a standalone app
That code never uses z in its sym form, so the syms z is not needed. The definition of func1 uses z as an input parameter, so t...

11 months ago | 0

| accepted

Answered
SUNDIALS solvers interface into Matlab.
You appear to be using MS Windows. MS Windows does not use the .a file extension -- the .a file extension is for statically link...

11 months ago | 0

| accepted

Answered
Executable Generated not Working when .m File is
You have coded an algebraic matrix multiplication, the * operator. Unless you are deliberately doing linear algebra work, chan...

11 months ago | 0

Answered
How to fill a blank cell with the value of the cell above it in a table?
if isempty(data.Var1) You are testing all of the Var1 component of data at the same time there, which does not make sense s...

11 months ago | 0

Answered
Unable to perform assignment because the indices on the left side are not compatible with the size of the right side.
yTrain = exp(net(xt(:,tr.trainInd)))-1; That appears to be a 2D array, presuming xt has more than one row. trainInd is a vector...

11 months ago | 0

Load more