Community Profile

photo

Cris LaPierre

MathWorks

Last seen: Today Active since 2018

Statistics

All
  • 36 Month Streak
  • Community Group Solver
  • Thankful Level 4
  • Most Accepted 2021
  • Ace
  • Revival Level 4
  • Solver
  • Knowledgeable Level 5
  • First Answer

View badges

Content Feed

View by

Answered
How to find checkboxes in panel component in MATLAB app designer?
Try this instead checkboxes = findall(app.features,'type','uicheckbox');

1 day ago | 0

| accepted

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

1 day ago | 1

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

1 day ago | 0

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

4 days ago | 0

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

4 days ago | 0

| accepted

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

4 days ago | 0

Answered
How to plot graph like Excel in Matlab?
Ch 9 of MATLAB Onramp. Ch 10 covers importing data, which may also be helpful.

5 days ago | 1

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

6 days ago | 1

| accepted

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

15 days ago | 0

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

16 days ago | 0

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

16 days ago | 0

| accepted

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

16 days ago | 1

| accepted

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

17 days ago | 0

Answered
"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...

17 days ago | 0

| accepted

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

17 days ago | 1

| accepted

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

18 days ago | 0

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

18 days ago | 0

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

18 days ago | 1

| accepted

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

19 days ago | 2

| accepted

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

19 days ago | 0

| accepted

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

23 days ago | 1

Answered
Multi data set plots on App Designer
MATLAB is case sensitive. Use plot instead of Plot In app designer, you also need to specify which axes to plot into using the ...

1 month ago | 0

| accepted

Answered
How can I resolve issue with .mlx file showing a blank screen?
Where this is unexpected behavior, I would suggest reporting this as a bug. You can do that here: https://www.mathworks.com/sup...

1 month ago | 0

| accepted

Answered
question regarding ploting a table as a surface
Depending how exactly you are trying to duplicate the image you shared, it looks like you don't want a surface. You want to use ...

1 month ago | 0

Answered
I have the following code in Matlab, the problem is that it does not graph anything, nothing comes out of plot *does not show any error in the console
Attach your wav file to your question using the paperclip icon. It would also help to have your freq function code. Still, using...

1 month ago | 0

Answered
ODE45 for phase trajectory plot
With initial conditions [0,0,0], the results of ode45 are all zeros, so there are no gradients. Consider adjusting your initial...

1 month ago | 0

| accepted

Answered
Sir,how can i read the QR barcode in Matlab software
See the 'Read a QR Code' example on the readbarcode documentation page. In testing this, it appears the function only works wit...

1 month ago | 1

Answered
Not enough input arguments error/ int command/ integral calculation
int is for symbolic integration. See Bora's answer if you want to perform numerical integration. The error is because of how yo...

1 month ago | 0

Answered
I want to plot ecg from the .mat file I have obtained after doing some preprocessing
You are loading your mat file variables into a structure you named ecg, so you must specify which variable in ecg to plot. Your ...

1 month ago | 0

| accepted

Answered
How to create a function that produces 2 histograms?
I'd use tiledlayout. Rather than surf or countour, use histogram. tiledlayout(2,1); [X,Y,Z] = peaks(20); % Tile 1 nexttile...

2 months ago | 0

Load more