
Cris LaPierre
MathWorks
Statistics
RANK
25
of 273,095
REPUTATION
8,616
CONTRIBUTIONS
4 Questions
3,438 Answers
ANSWER ACCEPTANCE
100.0%
VOTES RECEIVED
930
RANK
of 18,445
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
A way to write "if x is in y matrix do this"
What is x and what is y? ismember checks if the first input (here that is y) is in the second input (here that is x). Lia = is...
6 hours ago | 0
How can I get correctly plotted lines when using Matlab in a Webbrowser?
I suggest contacting support. I was not able to reproduce in MATLAB Online using Edge or Chrome.
7 hours ago | 0
where is the wrong this code!
The first input to berawgn must be a scalar or vector. Your first input is a character vector that seems to what is expected as ...
7 hours ago | 0
How do I plot horizontal time intervals and ignore others to produce a non continous dashed line plot?
You need to make each 'line' its own series. Do this by reshaping your data so each time interval is in its own column. tTime =...
13 hours ago | 0
Is there a figure tab in desktop matlab (R2022b)?
Yes, but only if you are using a live script. Click on the figure to select it, and the Figure tab will appear.
14 hours ago | 0
| accepted
How can I plot polarplot in AppDesigner?
Take a look at this example app. https://www.mathworks.com/help/matlab/creating_guis/polar-plotting-app-gui-in-app-designer.htm...
15 hours ago | 0
How can I align a file(txt, xls) onto a single variable?
I would use the readmatrix or readtable function. I'd recommend taking a little time to go through MATLAB Onramp. It will intro...
15 hours ago | 0
I would like the plot to look better, colour or in anyway
I'm not sure what you mean by better, but you might consider setting the 'EdgeColor' to 'none' n = 0.4; c1 = 4; c2 = 20.05; ...
15 hours ago | 0
How to find checkboxes in panel component in MATLAB app designer?
Try this instead checkboxes = findall(app.features,'type','uicheckbox');
3 days ago | 0
| accepted
No errors, switch case won't identify correctly
The issue is with the line switch(P) Switch looks for a case that matches the value of P, but you case statements return logica...
3 days ago | 1
Using ActiveX to copy table from excel to powerpoint and keep the format.
I looked at the Shapes.PasteSpecial docuemntation page. I think you need to tell it what datatype format to use when pasting. Tr...
3 days ago | 1
Implementation issues in function with symbolic ode using ode45 Name returns a vector of length 1 but the length of initial conditions vector is 12.
Thank you for sharing all your functions. If your equation is changing every timestep, I feel like you can't just return the sym...
5 days ago | 0
How does one change the workspace view settings to make more of the variable name visible?
You can adjust the column width by clicking and dragging. When you get the cursor in the correct place, it will change to a left...
6 days ago | 0
| accepted
Implementation issues in function with symbolic ode using ode45 Name returns a vector of length 1 but the length of initial conditions vector is 12.
I would suggest moving ode45 inside your function. Here's an example borrowed from the odeToVectorField documentation page. tsp...
6 days ago | 0
How to plot graph like Excel in Matlab?
Ch 9 of MATLAB Onramp. Ch 10 covers importing data, which may also be helpful.
6 days ago | 1
How to allow a user to open the Import Tool in App Designer?
Use the MATLAB Command Prompt syntax to open the import tool MATLAB command prompt: Enter uiimport(filename), where filename is...
7 days ago | 1
| accepted
How to extract the boundary of the cloud for the image
You might try the Color Thresholder App. This won't return the points of the cloud but instead a new image and a mask. It does a...
17 days ago | 0
How do I register or stitch multiple sub-images together into a larger image using unique fiducial features with rigid transformation?
You would probably be intersted in the Computer Vision for Engineering and Science Specialization from MathWorks on Coursera. Yo...
17 days ago | 0
How do I get graph colors to show as defined?
The issue is that color name can only be used to specify a single color for all data points. If you want to specify a different ...
18 days ago | 0
| accepted
Index exceeds the number of array elements. Index must not exceed 0.I am getting a lot errors on my code can you please help which one should fix especially line 15.Thank you
Your variable data contains 3 empty cells, so you are getting an indexing error because you are trying to index into it using a ...
18 days ago | 1
| accepted
Plotting date and time
Create a datetime variable from your date and time information, and then just plot. The axes will automatically adjust to handle...
18 days ago | 0
"Error using textscan Invalid file identifier. Use fopen to generate a valid file identifier." - why am i getting this error?
The most likely reason is because the file you are trying to open does not exist. Check that you have spelled the file name corr...
19 days ago | 0
| accepted
4 variables in 3d plot
The linked figure appears to have been created with stem3. x = [15 25 50 15 15 15 25 25 25 50 50 50 0 0 0]; y = [0 0 0 25 50 7...
19 days ago | 1
| accepted
How to fix the intervals of colorbar?
I think you want to look into clim. I'd also suggest moving anything does not need to be redrawn everytime outside the for loop....
20 days ago | 0
Use color as fourth dimension on a surf or mesh plot?
I'm not exactly sure what if this is the answer is helpful, as the solution may be dependent on your specfic data. Consider savi...
20 days ago | 0
Importing an excel file, how to export png and excel file to a specific folder?
You can either hardcode the destination path, or can incorporate uiputfile to allow the user to choose where to save it.
20 days ago | 1
| accepted
finding the average from csv file
There are some mistakes with your code, but the core elements are all there. create exxall as an empty array. You currently cre...
20 days ago | 2
| accepted
this is the app designer file i have this error in the imadjust how to fix it \the file will beattached below
Your second input is not formatted correctly. It should be a 2 element vector, or a 2x3 numeric matrix. Based on where your semi...
20 days ago | 0
| accepted
create a table in the live script
Currently, the only way to add editable tables to a live script is to use LaTeX. Although this answer is for MATLAB Grader, the ...
24 days ago | 1