Respondida
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...

más de 3 años hace | 0

| aceptada

Respondida
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...

más de 3 años hace | 0

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

más de 3 años hace | 0

Respondida
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...

más de 3 años hace | 1

Respondida
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...

más de 3 años hace | 0

Respondida
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...

más de 3 años hace | 0

Respondida
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 ...

más de 3 años hace | 0

Respondida
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...

más de 3 años hace | 0

Respondida
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 ...

más de 3 años hace | 0

| aceptada

Respondida
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...

más de 3 años hace | 1

| aceptada

Respondida
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...

más de 3 años hace | 0

| aceptada

Respondida
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...

más de 3 años hace | 1

Respondida
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 ...

más de 3 años hace | 2

Respondida
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...

más de 3 años hace | 0

Respondida
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...

más de 3 años hace | 0

Respondida
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...

más de 3 años hace | 0

Respondida
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...

más de 3 años hace | 0

| aceptada

Respondida
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 ...

más de 3 años hace | 0

Respondida
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...

más de 3 años hace | 0

Respondida
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...

más de 3 años hace | 0

Respondida
How can I define a function handle with 50 very similar functions?
You can't use a for loop in an anonymous function, but the good news is you don't need to. The diff function returns the differe...

más de 3 años hace | 0

Respondida
Who have visibility graph algorithm (Matlab code)? I'm looking for the code but have not found it.
If you're trying to solve this problem where your data is elevation data and you have Mapping Toolbox available see this documen...

más de 3 años hace | 0

Respondida
How do I create a random number generator using congruent method
If this is not for a homework assignment, either use one of the existing random number generators in MATLAB (as listed on this d...

más de 3 años hace | 0

Respondida
Problem with the use of strrep command
That is correct, when called with a cell array with some char vectors in the cells as input strrep requires each element of that...

más de 3 años hace | 4

Respondida
Error in interp1 (line 186) F = griddedInterpolant(X,V,method);
although the angles of attack are sorted Have you confirmed that this is true or are you just assuming that this is true? Call...

más de 3 años hace | 0

| aceptada

Respondida
Problems running the code in Mac
Indexing into a char array using {} is not supported on any platform. a = 'abracadabra' a(5) % 'c' a{5} % error Perhaps your...

más de 3 años hace | 0

Respondida
Undefined function 'geomean' for input arguments of type 'double' in Matlab 2020
The geomean function is part of Statistics and Machine Learning Toolbox. Do you have this toolbox installed and licensed? You ca...

más de 3 años hace | 1

| aceptada

Respondida
unable to run the program becuase of matrix multiplication error, also need to add a 3d earth around which the plot of orbit displayed.
Get rid of these lines from your script. If you need to clear the Command Window, close all figures, or clear all variables and ...

más de 3 años hace | 0

Respondida
Looking for packages available for multiple imputation (for missing data) in Matlab
Does the fillmissing function provide the method or methods you want to use to fill the missing values in your data sets? If not...

más de 3 años hace | 0

Respondida
Why are some functions listed as not compatible with MATLAB Compiler, when they are in fact used and compilable in the Simulink Standard Library?
Some functions and functionality is supported with MATLAB Compiler but not Simulink Compiler. Some functions and functionality ...

más de 3 años hace | 1

| aceptada

Cargar más