
Cris LaPierre
MathWorks
Statistics
RANK
26
of 276,277
REPUTATION
8,836
CONTRIBUTIONS
4 Questions
3,535 Answers
ANSWER ACCEPTANCE
100.0%
VOTES RECEIVED
968
RANK
of 18,596
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Content Feed
When I run this function, it generates a graph with only the x-value of -2, why wont it plot the whole vector?
Because you specified a step size of 20, but min and max of -2 and 2. Since the colon operator stops once the next increment wou...
2 hours ago | 0
| accepted
Append results into an array in a for loop as in python
Not sure what the desired results are, but here's a sample of your code. It works as I'd expect. Perhaps you can be more clear o...
8 hours ago | 0
I can't find a way around these errors: "Unrecognized function or variable 'CP'" and "Error in solution (line 63) text(c+.5,f(c),["("+string(c)+","+string(f(c))+") "+CP ])"
You are using a variable CP without ever defining it, hence the error.
23 hours ago | 0
Trojan is detected in Matlab files
The official installer contains no malware or viruses. If you are using Defender, please update your definitions and try again. ...
1 day ago | 0
Is there a way to plot multiple boxplots in a subplot?
Sure. Turn your condition (0, 1, 3) into a categorical array, and use that to group your data using boxchart. % tiledlayout(3,1...
1 day ago | 0
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 ...
1 day ago | 0
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...
1 day ago | 0
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...
1 day ago | 0
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...
2 days ago | 0
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...
2 days ago | 0
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 ...
2 days ago | 0
Problema en ode45, no compila
No puedo recrear su error, ni aqui, ni en R2016a. Ponga un un punto y coma al fin de cada linea para que ejecute mas rapido su c...
2 days ago | 0
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 days ago | 0
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 days ago | 0
| accepted
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 days ago | 0
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 days ago | 0
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 days ago | 0
install of MATLAB2023A
The official installer contains no malware or viruses. I suggest reporting this to customer support. You can also try submittin...
3 days ago | 0
| accepted
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 days ago | 0
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 days ago | 0
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...
4 days ago | 0
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...
4 days ago | 0
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...
5 days ago | 0
| accepted
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...
5 days ago | 0
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 ...
5 days ago | 0
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 ...
5 days ago | 2
| accepted
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...
5 days ago | 0
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...
6 days ago | 0
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...
6 days ago | 0
| accepted
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_...
6 days ago | 0