Community Profile

# Cris LaPierre

### MathWorks

Last seen: Today Active since 2018

All

#### Content Feed

View by

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.

ungefär 24 timmar 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 ...

ungefär 24 timmar ago | 0

Limits of polar plots axes
Use rlim to set limits in a polar axes.

ungefär 24 timmar 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 =...

en dag 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.

en dag 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...

en dag ago | 1

| accepted

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

en dag 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; ...

en dag ago | 0

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

4 dagar 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...

4 dagar 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...

4 dagar 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...

6 dagar 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...

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

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

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

8 dagar 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 dagar 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...

18 dagar 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 ...

19 dagar 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 ...

19 dagar 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...

19 dagar 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 dagar 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...

20 dagar 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 dagar 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...

21 dagar 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.

21 dagar 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...

21 dagar 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...

21 dagar ago | 0

| accepted