Answered
License available after enddate
Please send this licensing question to Technical Support directly using the Contact Support link under the Get Support heading a...

3 years ago | 0

Answered
How can I obtain all possible combinations of given vectors in MATLAB?
As of release R2023a you can use the combinations function in MATLAB for this task. T = combinations(1:3, 4:6) While combinati...

3 years ago | 2

Answered
streamline line value v=atan(y/x) not giving me "Warning: Matrix is singular to working precision"
I'd recommend using atan2 instead of dividing. If you had to divide, use element-wise division (the ./ operator) instead of matr...

3 years ago | 1

| accepted

Answered
No out of memory error but matlab crash
Did MATLAB crash or did the operating system kill it? Check if there's a message in the log file that the Out of Memory (OOM) ki...

3 years ago | 1

| accepted

Answered
How to Draw a Pentagon or Polygon by Using Function
Why not just use nsidedpoly? P = nsidedpoly(5); plot(P); axis equal

3 years ago | 1

Answered
I am getting parse error for this following simple program
Please show us the full and exact text of the warning and/or error messages you receive (all the text displayed in orange and/or...

3 years ago | 0

Answered
Toolbox have added. And the m-file of the function can be found buy 'Which'. However, ERROR: function need the Toolbox
In order to run a function from a toolbox two conditions must be true. I'm going to write in the context of a desktop installati...

3 years ago | 0

Answered
How do you include a mass matrix in ode45?
The "Summary of ODE Examples and Files" section on this documentation page lists a number of examples and indicates which of the...

3 years ago | 1

Answered
how ode solver works
I am looking for knowing or displaying time step in ode solver. At what point during the solution process? If you're trying to ...

3 years ago | 0

| accepted

Answered
Problems accepting integer values with power and algebraic symbols using inputdlg
The str2double function is a bit particular about the formats of text that it will convert to double. The format you've describe...

3 years ago | 2

Answered
Not valid variable name despite variable declaration i MATLAB app designer.
'app.para_BF_new' is not a valid variable name. The error message is correct. 'app.para_BF_new' is not a valid variable name. I...

3 years ago | 0

| accepted

Answered
How to find the original vector given the outer product of the vector?
n = 3; psi1 = rand(n,1) + 1i * rand(n,1) outer_product1 = psi1 * psi1' psi2 = 1i*psi1 outer_product2 = psi2 * psi2' norm(ou...

3 years ago | 0

Answered
How to get the workspace of a debugged function, from within a GUI debugger
Why not just use the debugging tools included in MATLAB?

3 years ago | 0

Answered
Undefined function or variable 'sigma_sj'. Error in m_phi_code (line 110) Ps_j = sigma_sj*(N/2)*(3.14/4)*d^2*0.001; why this error is showing?
What value should sigma_sj have if none of the conditions in your large if / elseif / elseif / ... statement are satisfied by th...

3 years ago | 1

Answered
Listmonth and listyear functions
I find no entry for a function named listyear in the Help Center. There is one item in the search results for listmonth but it i...

3 years ago | 0

Answered
Why does str2num take much longer to convert 1001 long char array apposed to a 1000 long char array (MatLab R2010b 64bit, on Win 64bit)
What's your ultimate goal here, of which I suspect this conversion is one step in a larger process? If you want to generate 100...

3 years ago | 0

Answered
Using a matrix as an index of another matrix
Take some shuffled data. r = randperm(10) Now sort it. [sortedData, indices] = sort(r) We can get back to r from sortedData ...

3 years ago | 0

Answered
class 'matlab.io.datastore.PixelLabelDatastore' is not allowed. Error !!!!!
You can make an array of numeric data in MATLAB. A = [1 2; 3 4] You cannot make an array of PixelLabelDatastore objects like t...

3 years ago | 0

Answered
Taking away transfer functions
by hand this should give me (5s-90)/s but MATLAB is giving me (5s^2-90s)/s^2 Assuming s isn't 0 (in which case evaluating your ...

3 years ago | 0

| accepted

Answered
New Workplace variable from Table
Is there a way to code a script to do this without manually picking the columns? Or a way to create new workplace variables from...

3 years ago | 1

| accepted

Answered
Datastore problems with deep learning. "FileExtensions Name-Value"
The imageDatastore object's documentation page states, in the description of the location input argument, that it "supports file...

3 years ago | 0

| accepted

Answered
App designer and runtime compiler problem for creating exe file
I created an app with app designer and with Matlab 2021a version. I also download Matlab Runtime (version 2021a). If you down...

3 years ago | 1

Answered
How do I receive modelling help/support for my Master Thesis Project?
If you have questions that reasonably fall under the responsibility of Technical Support (more "Why do I receive error X when I ...

3 years ago | 2

Answered
Convert time format from Julian calendar (days since 1950-01-01 00:00:00 UTC) to normal/gregorian calendar (YYYY-MM-DD hh:mm:ss)
That definition of "julian date" doesn't match either of the ones supported by the datetime function with the "t = datetime(X,'C...

3 years ago | 0

Answered
How i can i share my application to anyone who does not use MATLAB?
In order to execute the application without having MATLAB installed on the system you will need to use MATLAB Compiler to genera...

3 years ago | 0

Answered
Compare vector to two other vectors
I think what you want is to use histcounts2 to calculate how many numbers fall into each bin between m(k) and m(k+1) [and betwee...

3 years ago | 0

Answered
Undefined function 'preprocessAudio' for input arguments of type 'single'
Look at the Utility Functions section at the end of that example's documentation page. The preprocessAudio function is part of t...

3 years ago | 0

| accepted

Answered
Cross section of a plot (surface, Imagesc) using an arbitrary line
Others have spoken about the mathematics behind taking coordinate data of your math and generating the Z data. If you're having ...

3 years ago | 0

Answered
How to save output results for loop iterations
Rather than converting from a table to an array to perform your operations, I think what you want to do is to discretize the 9th...

3 years ago | 0

Answered
why do i get 'support for 'nargin' in a script has been removed?
Script files aren't allowed to have input or output arguments. Therefore it doesn't make sense to ask how many inputs or outputs...

3 years ago | 0

Load more