Answered
Can two users have access and use matlab on one computer?
You could do that in multiple ways: you could use a single Concurrent license. The license manager would automatically block ou...

1 year ago | 0

Answered
What is the standard code for solving any cubic equation
syms a b c d x R = solve(a*x^3 + b*x^2 + c*x + d == 0, x, 'maxdegree', 3); matlabFunction(R, 'file', 'CubicSolver.m', 'vars', ...

1 year ago | 0

Answered
Removing comas from the text file
If you have a file of text that looks like 1,2,3,4,5 6,7,8,9,10 then it is enough to load the file. data = load('data.txt');...

1 year ago | 0

Answered
select only rows and not columns
March_01_2021 = MarchVacc(1,2:51)

1 year ago | 0

Answered
Minimize the results in regression model
You can find near-exact solutions, if you are willing to do the grunt-work of substituting all of the various partial solutions....

1 year ago | 0

Answered
Problem with Code for my coursera course
The printout shows that the table has a variable name Region but no variable named Regions

1 year ago | 0

Answered
MATLAB doesn't recognize the function optimoptions
If really necessary you could use the older gaoptimset (which has not been recommended since R2018b)

1 year ago | 0

Answered
Change size of input arguments without recompiling mex with codegen
You need to declare the inputs with coder.varsize You might need to define a maximum array size.

1 year ago | 0

Answered
how use categorical in uitable
nrows = 5; VNAMES={'On','Trading','L_S','Stat','PROVA','Cap','Perc','Draw_Sys'}; cat=categorical({'Fil';'Stat'}); VTYPES=[{...

1 year ago | 0

| accepted

Answered
how can i open .out extension file in matlab?
".out" is not a standardized file extension. ".out" is used by many different programs, and contains anything from text printout...

1 year ago | 0

Answered
Problem solving system of nonlinear equations with fsolve trying to change inputs
x = fsolve(fun,x0,F,rho,options) This instructs fsolve to process fun as a function handle that expects a single input, ...

1 year ago | 0

Answered
How to import multiple .mat files into the same workspace
projectdir = '.'; %path to .mat files dinfo = dir( fullfile(projectdir, '*.mat') ); data = struct(); for K = 1 : length(dinf...

1 year ago | 1

Answered
Can't install MATLAB Conector (online MATLAB) although downloaded from mathworks site
The link to download the MacOS version of Connector is https://www.mathworks.com/MathWorksServiceHost/maci64/installer.dmg.zip ....

1 year ago | 0

Answered
I can't download Matlab R2022a release or earlier release
There are two possibilities: * you have a license controlled by an institution and that institution has disabled downloading ...

1 year ago | 0

Answered
why i can't get same plot when i change Real to Im?
You are plotting in Maple. MATLAB returns correct results. syms x t map(x,t) = 0.2e1 * (0.4e1 * exp((-8 * t + 2 * x)) + 0.9e1 ...

1 year ago | 1

Answered
How do you access Powershell in MATLAB interactively
Powershell implies that you are using Windows. In that case you can use System.Diagnostics.Process to configure input and output...

1 year ago | 0

Answered
MATLAB Code Not Plotting Solution and Stuck on "Busy"
Your code runs, but takes a while, as you are doing 1 x 800 x 800 x 2 determinents. Eventually though the surf() fails. y and t...

1 year ago | 0

| accepted

Answered
algorithm of envelope function 'peak' option
The local maxima are found using findpeaks() with the 'MinPeakDistance' option spline interpolation is done using interp1() wit...

1 year ago | 0

| accepted

Answered
Why does Matlab recommend keeping the Documentation on the Web?
With my ethernet connection (nominally 1 gigabit, achievable throughput 875 megabits), "doc" renders for me in less than 2 secon...

1 year ago | 0

Answered
what is 2+2
2 + 2 double(2) + double(2) single(2) + single(2) sym(2) + sym(2) uint8(2) + uint8(2) int8(2) + int8(2) uint16(2) + uint16...

1 year ago | 1

Answered
Initial condition from output of another Integrator block?
Your use of a 1/s block instead of a 1/z block shows that you are using Continuous time. As such, all of the blocks theoreticall...

1 year ago | 0

Answered
Adding two columns together to create a new column of data
If you are using a table, T, then T.Z = T.R + T.L;

1 year ago | 0

Answered
Color input to comm.ConstellationDiagram object
You can use a single scatter() call, and record the graphics object that results. Then on subsequent loop iterations newX = [SC...

1 year ago | 1

| accepted

Answered
fftshift implementation in Simulink
Fork the fft output. Use https://www.mathworks.com/help/dsp/ref/variableselector.html variable selector block on each of the br...

1 year ago | 0

| accepted

Answered
How to turn off autosave in matlab online 2021a
If you do not want autosave, then turn it off. Preferences -> Editor/Debugger, click downward triangle to expand menu -> Saving...

1 year ago | 1

Answered
how to solve this error ?
solutions = vpasolve(eq, epsilon_mg, [min(epsi, epsh), max(epsi, epsh)]); positive_imaginary = solutions(imag(solutions...

1 year ago | 0

| accepted

Answered
Multiobjective optimization with polygon boundary
convex hulls can always be represented as a series of linear inequalities, so you would use the "A" and "b" matrices A = [....]...

1 year ago | 0

Answered
Ideas on generalizing the syntax used for constructing complex variables
There is no hope of extending MATLAB such that 2dogs + 3cats is recognized. You are going to need an explicit constuctor -- whe...

1 year ago | 0

| accepted

Answered
What is the best practice for creating a recursion loop?
F = @(z) z^2 + c; That statement says that you are creating an anonymous function that takes a single parameter (shortcut name:...

1 year ago | 0

| accepted

Answered
How to covert binary data to original data format?
You cannot generally convert the uint8 stream into an in memory version of the original object. For example if you have the uint...

1 year ago | 0

Load more