Community Profile

photo

Cris LaPierre

MathWorks

Last seen: Today Aktiv seit 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

Abzeichen anzeigen

Content Feed

Anzeigen nach

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

etwa 10 Stunden vor | 0

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

etwa 11 Stunden vor | 0

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

etwa 11 Stunden vor | 0

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

etwa 11 Stunden vor | 0

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

etwa 17 Stunden vor | 0

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

etwa 18 Stunden vor | 0

| akzeptiert

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

etwa 19 Stunden vor | 1

| akzeptiert

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

etwa 19 Stunden vor | 0

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

etwa 19 Stunden vor | 0

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

3 Tage vor | 0

| akzeptiert

Beantwortet
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 Tage vor | 1

Beantwortet
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 Tage vor | 1

Beantwortet
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 Tage vor | 0

Beantwortet
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 Tage vor | 0

| akzeptiert

Beantwortet
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 Tage vor | 0

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

7 Tage vor | 1

Beantwortet
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 Tage vor | 1

| akzeptiert

Beantwortet
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 Tage vor | 0

Beantwortet
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 Tage vor | 0

Beantwortet
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 Tage vor | 0

| akzeptiert

Beantwortet
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 Tage vor | 1

| akzeptiert

Beantwortet
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 Tage vor | 0

Beantwortet
"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 Tage vor | 0

| akzeptiert

Beantwortet
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 Tage vor | 1

| akzeptiert

Beantwortet
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 Tage vor | 0

Beantwortet
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 Tage vor | 0

Beantwortet
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 Tage vor | 1

| akzeptiert

Beantwortet
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 Tage vor | 2

| akzeptiert

Beantwortet
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 Tage vor | 0

| akzeptiert

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

25 Tage vor | 1

Mehr laden