Answered
Deleting repeated values in 2 matrices
It's possible. Depending on what your requirements are, you might be interested in setdiff or ismember. Here's an example using ...

3 years ago | 0

Answered
Problem with Simscape Onramp task 9 Part 2
You appear to have a shunt running parallel to the electrical side of your Rotational Electromechanical Converter. That should n...

3 years ago | 0

Answered
Index exceeds the number of array elements (1).
I suspect the error is that you forgot to include a multiply in this statement after n (n(a.*r - n.^2.*pi.^2.*r.*(r - 1)) % Sh...

3 years ago | 0

| accepted

Answered
Fit the whole Simulink model to view
Pressing the spacebar should do this. See here: https://www.mathworks.com/help/simulink/ug/summary-of-mouse-and-keyboard-actions...

3 years ago | 0

Answered
Problem solving simultaneous ODEs using 4th order Runge-Kutta method (Too many input arguments.)
The error is because you define fx with 9 inputs, but call it with 10. fx = @(x,vx,y,vy,z,vz,px,py,pz) vx; % vs k_1x = fx(t(i...

3 years ago | 0

Answered
error when using command "quiver"
You have created x and y so that they are 53x57 arrays, but u10mean and v10mean are 57x53. As the error message says, they must ...

3 years ago | 0

Answered
Problema en ode45, no compila
No puedo recrear su error, ni aqui, ni en R2016a. Ponga un punto y coma al fin de cada linea para que se ejecute mas rapido su c...

3 years ago | 0

| accepted

Answered
Contour plot: distorted contours and blank spaces in plots.
griddata does not extrapolate your data. Everything outside the known data is set to NaN, which appears white in your contour pl...

3 years ago | 0

Answered
How do I add .editable behavior to .mlapp components?
You can see all the checkbox properties here: https://www.mathworks.com/help/matlab/ref/matlab.ui.control.checkbox-properties.ht...

3 years ago | 0

| accepted

Answered
how to make surf plot using 3 arrays
I would follow this example: https://www.mathworks.com/help/matlab/ref/surf.html#bvgppvs-4 Your 2 vectors (11x1, 5x1) are your ...

3 years ago | 0

Answered
How do I share a Matlab script (or folder) using Matlab mobile?
MATLAB Drive is the file system used in MATLAB Moblie (and MATLAB Online). You can synchronize your MATLAB Drive files to a loca...

3 years ago | 0

Answered
Whats wrong with my code?
You are trying to index to an element that does not exist. The error message tells you the max index possible is 5000001, yet yo...

3 years ago | 0

Answered
install of MATLAB2023A
The official installer contains no malware or viruses. I suggest reporting this to customer support. You can also try submittin...

3 years ago | 0

| accepted

Answered
Installation file detected as a trojan
The official installer contains no malware or viruses. I suggest reporting this to customer support. You can also try submittin...

3 years ago | 0

| accepted

Answered
while using readtable comand for xlsx file, i get the table with cell value as text/cell, not in value format.
I would use the import options to set the parameters. opts = detectImportOptions("Initialise.xlsx","Sheet","LAYOUT"); opts = s...

3 years ago | 0

| accepted

Answered
Error: Function definition are not supported in this context. Functions can only be created as local or nested functions in code files.
You'd have to share your .m file for us to say for certain, but the error message you are getting suggests you are trying to def...

3 years ago | 0

Answered
Error in loading an Open Example
Run the command "ver" in your Command Window and verify that you have Powertrain Blockset and Simscape installed. If they are no...

3 years ago | 0

Answered
I can't open the model,"mcb_acim_param_est_f28379d.slx",or how can i get this model ?thanks
In the upper right of the dumentation page you link to, you will see a list of required products: This example uses: C2000 Mi...

3 years ago | 0

| accepted

Answered
How do I update the model "ControlAndSimulateMultipleWarehouseRobotsExample.mlx" to run on 2022a.
I would just open the updated example in R2022a using the following command: openExample('robotics/ControlAndSimulateMultipleWa...

3 years ago | 0

| accepted

Answered
I entered this code but there "Index in position 2 exceeds array bounds"
Index 2 is your column indext. You are apparently trying to index to a column that does not exist in your variable. The error ...

3 years ago | 0

Answered
can not find a file list with fonction ( dir)
Variables in MATLAB are case sensitive. So Folder is not the same as folder. You define Folder, but then use folder in your dir ...

3 years ago | 2

| accepted

Answered
Como encontrar velocidad y posicion a partir de un archivo csv de a(t)
La integracion de su curva de acceleracion es velocidad, y la integracion de su curva de velocidad es posicion. Puede usar cumtr...

3 years ago | 0

Answered
Ho do I receive access to this url: https://matlabacademy.mathworks.com/#getting-started
That is not its own course, but it is part of the Solving Nonlinear Equations with MATLAB course. This course, along with the ot...

3 years ago | 0

Answered
3hr time avarage plot of data
This problem is made much simpler if you leverage the capabilities of cdfread. It can read in cdfepochs as datetimes, simplifiin...

3 years ago | 0

| accepted

Answered
Error: Unexpected MATLAB expression.
You are missing your closing paretheses, as well as a comma to separate the final line from the cell array.. [nama_file1, nama_...

3 years ago | 0

Answered
Cannot type symbols on dead keys (e.g., to write ', ", or ^)
If those keys are only not working in MATLAB, please report this as a bug to customer support: https://www.mathworks.com/support...

3 years ago | 1

Answered
How to find derivatives using the diff command
I think this is the page you want: https://www.mathworks.com/help/symbolic/diff.html

3 years ago | 0

Answered
Problem with integration using sym in case of "sym is not convertible to double"
See this answer: https://www.mathworks.com/matlabcentral/answers/318185-error-double-cannot-convert-the-input-expression-into-a-...

3 years ago | 0

| accepted

Answered
Matrix dimensions must agree. Error in Untitled (line 22) E_net=E_PV-L; .........................error in subtract op,,,,
For the matrix subtraction operation to work, L must either be a scalar, or be the same size as E_PV. The only way I can reprod...

3 years ago | 1

Answered
I cant type anything in the editor.
Please contact support.

3 years ago | 1

Load more