Answered
Is Matlab 2012b still under support?
https://www.mathworks.com/support/requirements/previous-releases.html -- R2012b supported Windows 8, not Windows 10 at all. htt...

3 years ago | 0

Answered
Differential equations by separable equations (Symbolically)
Math says that a diff eqn solvable by separable equations is one of the form f(x,y)=p(x)h(y) or p(x)+h(y)=0 For the first form,...

3 years ago | 0

Answered
Error when importing data
you need to reinstall matlab. dbtype uiimport 1 should show function varargout = uiimport(varargin) but on your s...

3 years ago | 1

| accepted

Answered
why tcpserver is not part MATLAB ? Why do I need to purchase instrument control toolbox ?
To be honest, I do not know why Mathworks made this decision. Earlier both tcp server and client were Instrument Control only, b...

3 years ago | 0

| accepted

Answered
what is the most efficient way to write multiple plots to the local drive?
Some performance tune-ups parfor i = 1:numel(data) persistent fig ax lines line_width = 1; if isempty(fig) ...

3 years ago | 0

Answered
I am confused about why my code doesn't lead to a fitting result.
I had to fix every different things to get it to work. The improvement to summarize failed iterations instead of listing each o...

3 years ago | 0

| accepted

Answered
Error message Error using mupadengine/feval_internal More equations than variables is only supported for polynomial systems. Error in sym/vpasolve (line 172) sol = eng.fe
Your T10 is a 4 dimensional array so your P becomes 4 dimensional. In order to vpasolve an expression involving that array, you ...

3 years ago | 0

| accepted

Answered
How to add trip_sum to table without error?
You have an existing trip_table variable that was built with a different number of variables. I suggest you build your table on...

3 years ago | 0

Answered
How to quickly view the variables in the mat file? My computer is poor, so it is slow to open matlab😭
https://comp.soft-sys.matlab.narkive.com/hkUdFzb0/quickly-list-variables-in-a-mat-file shows some C code that when compiled with...

3 years ago | 0

Answered
vpasolve unable to find solution of 6 simultaneous equations
You need to arrayfun or loop over elements of V_i as vpasolve and solve try to solve all of the passed equations simultaneously ...

3 years ago | 0

Answered
I need help to solve this problem, I don't understand why it's not working
configure the arduino and servos *once* in Classroom_security_OpeningFcn not in every callback. Also use try/catch in ca...

3 years ago | 0

Answered
help to find error in this?
https://www.mathworks.com/help/matlab/math/parameterizing-functions.html global is not recommended

3 years ago | 0

Answered
Dimension 1 is fixed on the left-hand side but varies on the right ([512 x 512] ~= [:? x :?]).
in the interface block you specified the signal size as 512 by 512. It is not marked as variable sized, and the 512 512 will *no...

3 years ago | 0

Answered
Conversion of (129x7 complex double) to an Image
you could use the tiff gateway and write the imaginary component as unassociated alpha. There is an example at https://www.ma...

3 years ago | 1

Answered
I can not use log function in matlab
Your MATLAB installation is corrupted. You need to reinstall it.

3 years ago | 1

Answered
Define a family of functions
If you *could* define a "family of functions" in MATLAB, what properties would you want such a thing to have? If there were clas...

3 years ago | 0

Answered
Error using feval Function to evaluate must be represented as a string scalar, character vector, or function_handle object.
syms t f(t)=[-cos(t), -sin(t), 2*cos(t)^3 - 7*cos(t)*sin(t)^2] Then output = feval(f,3.14) %must "use" the output or f(3....

3 years ago | 0

Answered
How to solve Multivariate equations
syms s phi theta; First you create symbolic variables. The MATLAB level variables s phi and theta will be assig...

3 years ago | 0

Answered
The embedded function "allSimplePaths" in the allpaths.m
allSimplePaths is a built-in method % matlab.internal.graph.MLDigraph method It is an undocumented internal function.

3 years ago | 0

| accepted

Answered
How to have legend coloured according to data
I suggest you consider using gscatter Otherwise, you have two possibilities: use one scatter() call for each different group, ...

3 years ago | 0

| accepted

Answered
Is it possible to select two points automatically from an image?
Information can only be automatically extracted if there is a programmable rule that describes how to distinguish the informatio...

3 years ago | 0

Answered
How do you ask the user to load a path from the .xlsx file, then store it in variables with some concerns when reading the .xlsx file using app designer?
I opened in the file in Excel. In the first sheet in the file, "AC No ESS", there are only 5 columns, and readtable() finds them...

3 years ago | 1

Answered
Why is my FFT diagram has a slope approaching to zero?
Fs=1000; T=1/Fs; t1 = readtable('t.xlsx'); L = width(t1); t = t1{1,:}; S = t1{2,:}; plot(t,S) f=Fs*(0:(L/2))/L; Y ...

3 years ago | 0

Answered
Is it possible to call parfeval from within a parfor loop
No, that is not possible. See https://www.mathworks.com/matlabcentral/answers/1904941-dual-parfor-from-different-scripts#answer...

3 years ago | 1

| accepted

Answered
How can I make my 'x' matrix in scatterplot in 2 different colors??
scatter() can take information about color in the 4th parameter. The color information can be set per-point. xdata = repmat(Tem...

3 years ago | 1

Answered
How can I make my 'x' matrix in scatterplot in 2 different colors??
A different approach would be to use gscatter xdata = repmat(Temp, 5, 1); ydata = [Bin1; Bin2; Bin3; Bin4; Bin5]; g = 2 * one...

3 years ago | 1

Answered
Save each loop from getfield command
It is not clear to me why you are using that getfield instead of ffextract = fftrials{1,1}(1,n).df; You have for n=1:size(fft...

3 years ago | 0

Answered
combine the string and number
Are you referring to combine for augmented image data store? If so then each element you combine, such as bldsTrainT, must be a...

3 years ago | 1

| accepted

Answered
Efficient code for multiple string replace
If you are going to write something like that, then you should write it in the clearest way you can come up with, because you ar...

3 years ago | 0

Answered
How to encrypt compilation files for standalone?
https://www.mathworks.com/help/matlab/matlab_prog/protect-your-source-code.html Starting in R2021b, you can obscure the names ...

3 years ago | 1

Load more