Answered
The coder.ceval function is not supported in MATLAB.
To call C code from MATLAB, use loadlibrary and calllib

10 dagen ago | 0

Answered
Solve equilibrium equations in MATLAB for a quadruped robot
[eq1; eq2] only has rank 5 even though there are 6 equations. There are either no solutions to [eq1; eq2] or else there are an i...

10 dagen ago | 0

Answered
Shapley based feature selection
YtestPred = predict(Mdl, Xtest); test_accuracy = nnz(Ytest(:) == YtestPred(:)) / numel(Ytest) * 100; fprintf('test accuracy: %...

11 dagen ago | 1

Answered
Why do I get conj(L)
You probably used the ' operator on the symbolic vector. For example, syms L [1 4] A = [2 3; 4 5]/7 B = [L1 L2; L3 L4] C = A...

11 dagen ago | 1

Answered
How can I create a singleton object that is processed in parallel threads and processes?
How can I create a singleton-object that is processed in parallel threads and processes? That is not possible with process thre...

11 dagen ago | 0

Answered
Error using trainNetwork Invalid training data. For classification tasks, responses must be a vector of categorical responses. For regression tasks, responses must be a vector
For regression tasks, responses must be a vector, a matrix, or a 4-D array of numeric responses which must not contain NaNs. Y ...

12 dagen ago | 0

Answered
License Manager Error -96 when installing Polyspace 2024b in linux
As an experiment try changing <server host name> to IP address.

12 dagen ago | 0

| accepted

Answered
Comprei um novo pc e preciso transferir a licença do antigo para esse
The MATLAB license does not permit the Student version to be installed on more than one host. dbtype(fullfile(matlabroot, 'lice...

13 dagen ago | 0

Answered
Need offline installer for MATLAB version R2023a.
See https://www.mathworks.com/help/install/ug/install-using-a-file-installation-key.html Alternately, use https://www.mathwork...

13 dagen ago | 0

Answered
How to write aa code to find factors of numbers in a set of numbers?
First of all, call factors() on the number. Run through the factors, building a list of each unique factor and its number of rep...

13 dagen ago | 0

Answered
Animation of a volume
You could use the File Exchange contribution videofig https://www.mathworks.com/matlabcentral/fileexchange/29544-figure-to-play-...

14 dagen ago | 0

Answered
Why do I write as Ib(1:478,31:565)(~BW) = 255
temp = Ib(1:478,31:565,:); temp(~repmat(BW,1,1,ndims(temp))) = 255; Ib(1:478,31:565,:) = temp;

14 dagen ago | 0

Answered
how we get matlab pass key
If you purchased MATLAB, then the license key should have been emailed to you. If you did not receive it, then contact support@m...

14 dagen ago | 0

Answered
WHY ITS TAKING TIME TO LAUNCH MATLAB EXE FILE IN VISUAL STUDIO C++?
The official solution is to use MATLAB Production Server https://www.mathworks.com/products/matlab-production-server.html Produ...

14 dagen ago | 0

Answered
how to provide feedback to MathWorks about an issue in Matlab
https://supportcases.mathworks.com/mwsupport/s/casetypeselection?language=en_US&c__caseParameter=productusage&s_tid=srlp_product...

14 dagen ago | 1

| accepted

Answered
What plugins to be installed for MATLAB
https://neuro-jena.github.io/cat/ Requirements CAT12 is designed to work with SPM12 and Matlab versions 7.4 (R2007a) ...

14 dagen ago | 0

Answered
Can I convert shades of red (Pink, Red, Maroon) in this RGB image to one single color, lets say blue?
im = imread('https://www.mathworks.com/matlabcentral/answers/uploaded_files/171158/image.jpeg'); imshow(im) HSV = rgb2hsv(im...

14 dagen ago | 0

Answered
run the below code and get output
Run ModelSimulation from https://github.com/vagg777/5G-Network-Simulator-for-User-Distribution# . It sets up all of the variable...

14 dagen ago | 0

Answered
can a matlab license be used on many systems
To do that, you would need one of: Concurrent license sized for 2 concurrent licenses Standard/Commecial/Professional individu...

14 dagen ago | 0

Answered
Why am I receiving a "Trial Not Available" error when generating a Trial License?
One of the main reasons why trials might be automatically denied, is if you are located in a country that is served by a distrib...

15 dagen ago | 0

Answered
How do I convert symbolic values from a matrix to numeric?
n = 5; syms v [n,1] v v(1) So indexing v does work to return the corresponding symbolic variable. Meanwhile, to substitute ...

15 dagen ago | 0

Answered
How can i store looped data from sensor in a table?
Initialize T = table('Size', [0 4], 'VariableTypes', repmat({'double'},1,4), 'VariableNames', {'interval', 'temp', 'pressure',...

15 dagen ago | 1

| accepted

Answered
How can I get splines subject to constraints?
You are trying to get vpasolve() to invent functions that satisfy certain purposes, trying various forms of f until it satisfies...

15 dagen ago | 1

Answered
Importing Point cloud to overlay on solid object
You probably need to use scatteredInterpolant . In some cases the scattered data is an "unraveled" rectangular grid; in such cas...

16 dagen ago | 0

Answered
How to get variable data depending on the value from another column. In an Array
corresponding_values = Array(ismember(M, Array(:,1), 2)); However, the comparison between M and Array(:,1) that will be done is...

16 dagen ago | 1

Answered
Question solve(eqn)
syms a0 a1 a2 a3 a4 a5 v = [0 2 4 6 8 10] f = [0 2.9 14.8 39.6 74.3 119] f1 = a0 + a1*v(1) + a2*v(1)^2 + a3*v(1)^3 + a4*v(1...

16 dagen ago | 0

Answered
How to get 'Live Editor Evaluation Helper' .m file name from live script through another live script?
When sub.mlx is called through main.mlx though, the same Live Editor file name is returned twice, which is obviously incorrect. ...

16 dagen ago | 0

Answered
find the minimum of polynomial.
syms a b c R f = a*R^2+b*R+c critical_points = solve(diff(f, R), R) value_at_critical_points = subs(f, R, critical_points)

17 dagen ago | 0

Answered
can anybody help me to find what is wrong in the following code?
The fzero() function requires a function handle. For symbolic work use vpasolve() syms p f=2-ellipticK(p) x0=0.1 a = vpasolv...

17 dagen ago | 0

| accepted

Answered
ubuntu에 Matlab 설치가 안되요.
It seems to be a problem with Ubuntu 14 https://askubuntu.com/questions/366556/13-10-xrdp-problem-with-gnome-fallback

17 dagen ago | 1

Load more