Community Profile

photo

Cris LaPierre

MathWorks

Last seen: Today Active since 2018

Statistics

All
  • Most Accepted 2021
  • 24 Month Streak
  • Ace
  • Thankful Level 2
  • Revival Level 4
  • Solver
  • Knowledgeable Level 4
  • First Answer

View badges

Content Feed

View by

Answered
How do I use sliceViewer with RGB images?
Try using the permute function to swap your 3rd and 4th dimensions. newRGB = permute(RGB,[1,2,4,3]);

11 hours ago | 0

Answered
Difference Between Export to PDF & Save AS... -> PDF in MATLAB Live Editor
They both achieve the same thing.

15 hours ago | 1

| accepted

Answered
Plot Mean over Box Charts for two groups
See the 'Plot Mean Over Box Charts' example on the boxchart documentation page. For help with your specific code, please share y...

17 hours ago | 0

Answered
Error when indexing 3D cell array: Index in position 2 exceeds array bounds
Your code is not looping over every cell. It is always using the last cell. This is because the code looping through each cell u...

17 hours ago | 0

Answered
I forgot my security question answer...How do get it...?
You will need to contact support.

1 day ago | 0

Answered
how can i insert photo to a graph location
This is the default behavior when displaying an image in an axes. You can turn the axis back on using the following syntax: axis...

1 day ago | 0

| accepted

Answered
Difference Between Copy and Copy Output
I see a slightly different set of options. I see 'Copy Output', meaning the output you have right clicked on (a single output) a...

2 days ago | 0

| accepted

Answered
Why Value of type "tf"is not convertible to double?
I believe the issue is because the order of your function outputs is not correct. The first output of your function needs to be ...

2 days ago | 0

Answered
How to align Spikes?
Not sure what approach you are taking, but your desired outcome figure reminded me of this answer that created something similar...

2 days ago | 0

Answered
Why can't I generate a 3-d surface when using surf? (file)
Z must be a matrix. In your code, it is only a vector. Follow the eamples on the surf documentation page. You will find meshgrid...

3 days ago | 0

Answered
Error using h5readc Unable to open the file because of HDF5 Library error. Reason:Unknown
If you can share your file, we can test if we get the same error. However, I would probably go straight to contacting support.

3 days ago | 1

Answered
Can I make a standalone app (designed from App Designer) so that it runs on computers without Matlab1?
Yes. However, computers that don't have MATLAB installed will need MATLAB Runtime. See the instructions here on how to create a...

3 days ago | 0

Answered
How to plot the 2d complex function with amplitude and phase
Perhaps you would be interested in this File Exchange submission: https://www.mathworks.com/matlabcentral/fileexchange/66850-co...

3 days ago | 0

| accepted

Answered
How to make the function has many process in GUI image processing?
See this page: https://www.mathworks.com/help/matlab/app-designer.html and perhaps this example: https://www.mathworks.com/he...

3 days ago | 0

Answered
The end operator must be used within an array index expression
You cannot use end in a variable that has not yet been created. Here, you are using end in the assignment to all your variables....

4 days ago | 0

| accepted

Answered
I can't found Data Science Trail Package.
Not knowing anything about what it is you want to do, I would start with the MATLAB Essentials option. Other options that may be...

4 days ago | 0

Answered
Is there a way to download R2014b 64bit (for Windows) from the License Center?
If you see what Rik sees, the 'Download for Windows' is the 64 bit version. 'Download for Windows (32-bit)' is the 32 bit vers...

5 days ago | 0

| accepted

Answered
MATLAB Onramp can not be accessed
I had something like this recently happen to me. Here is what worked for me. Navigate to the course page Under the Resume Cour...

5 days ago | 0

Answered
How do I create a geometry with a spline as an edge?
I find it easiest to create complex geometries in a CAD program, export the shape to an stl file, and then import the stl using ...

6 days ago | 1

Answered
Index in position 2 exceeds array bounds. Index must not exceed 27.
Somewhere in your code, you have a matrix of nx27, but in your code, you are trying to access a column > 27. a=rand(3,27); % W...

6 days ago | 0

Answered
How do I add a column to an existing matrix?
Use [] to concatenate your result to your existing variable. You'll need to force your for loop to create a column vector instea...

6 days ago | 0

Answered
Get all unique combinations of 2 columns from a table
I would look into using the perms function, along with the unique and diff functions.

6 days ago | 0

Answered
How do I transform this format 202007011030 (2020 07 01 10:30) into a readabel format?
I think you would first need to read in the dates as strings, and then use datetime to convert them to datetimes. It seems when ...

6 days ago | 0

Answered
How to extract all the data for a fixed year
Load your data with readtable, with the dates imported as datetimes. Then you can use the isbetween function to identify the row...

6 days ago | 0

Answered
Calling function from different m-file
Call it by name. The file must be either in your current folder, or in a folder that has been added to your MATLAB path. The ca...

6 days ago | 0

Answered
Error using odearguments and Error in ode45
As an initial guess, I wonder if app.y2 and app.y1 have not yet been assigned values. Currently, most of your variables will onl...

6 days ago | 1

Answered
Creating a new function in App Designer places the new function inside of another function
It shouldn't be doing this. Please try restarting MATLAB. If the issue returns, please contact support.

7 days ago | 0

Answered
How can I change scaling of my graph depending on the output value?
The issue is that, by setting your XTicks manually, you have changed the XTickMode to manual instead of Auto. Therefore, your ti...

8 days ago | 0

| accepted

Answered
Y data addition on scatter plot
Use square brackets to define vectors, not curly braces. You might find MATLAB Onramp helpful, especially chapters 2, 4 & 9. Als...

8 days ago | 1

Load more