Community Profile

photo

Cris LaPierre


Last seen: Today

MathWorks

1.828 total contributions since 2018

Cris LaPierre's Badges

  • 12 Month Streak
  • Guiding Light
  • Thankful Level 2
  • Revival Level 4
  • Solver
  • Knowledgeable Level 4
  • First Answer

View details...

Contributions in
View by

Answered
How can I uninstall Matlab Drive Connector?
You can find uninstall instructions here: https://www.mathworks.com/help/matlabdrive/ug/install-matlab-drive.html#bvszpcd Yo...

ongeveer 5 uur ago | 0

Answered
Color Variable not working in GeoBubble
Try the following syntax geobubble(lat,lon,sizedata,colordata) For your data, that means the following. geobubble(EventTypes....

ongeveer 9 uur ago | 0

Answered
Update on filtering table
Use logical indexing instead. You can do that without the for loop. (untested) if ... rowsdelt = app.UITable3.Data(:,app.C...

ongeveer 19 uur ago | 0

Answered
Figure axis: How can I change '0 1 2 3' into '0.0 1.0 2.0 3.0' while keeping ' x 10^9' on the top of y axis ?
Use the function ytickformat. x=-2:2; y=[0 0.75 1.5 2.25 3]*1e9; plot(x,y) ytickformat('%.1f')

ongeveer 19 uur ago | 0

| accepted

Answered
Matlab Grader and resample()
I assume this is the website example you refer to? It works for me when I create and run the problem in a collection. Have you c...

ongeveer 19 uur ago | 0

Answered
Find and fill in missing records/data/lines/rows from array
There's not enough details to be able to provide a solution, but take a look at the following functions ismissing fillmissing ...

2 dagen ago | 0

Answered
How do I display a plot based on the user input value?
You do not appear to have a variable yearBuilt. If this is part of your mat file, note that the syntax you use to load it loads ...

2 dagen ago | 0

| accepted

Answered
How do I put a .mat file into a function?
If you know the name of the mat file, you don't have to pass it in. As long as it is accessible (in the current folder, or in a ...

2 dagen ago | 0

Answered
Add Specific Numbers to x-axis
Use the xticks and possibly xticklabels function. x=0:142; y=linspace(0.1, 2.7,length(x)); bar(x,y) xline(52,'m--') xticks...

2 dagen ago | 0

| accepted

Answered
Scale right y-axis to the values on the left y-axis
I don't see how changing the scale of your Y Axis is going to help you. No amount of uniform stretching or compressing is going ...

2 dagen ago | 0

| accepted

Answered
Import or Export a Sequence of Files
Perhaps the issue is that paths is a structure containing several fields and not just the path. Look at the dir documentation pa...

2 dagen ago | 1

| accepted

Answered
Matlab does not plot data which are mirrored data
It's plotting it all. It just appears that your data overlaps itself. Compare these examples r=abs(-1:0.1:1); u0=-abs(-1:0.1:...

2 dagen ago | 1

Answered
explanation of this code
It means "or". See here.

2 dagen ago | 0

Answered
Importing Excels sheets into app desinger
The importdata function does not have an input for spcifying Sheet. I suggest using readmatrix or readtable, which do allow you ...

2 dagen ago | 0

| accepted

Answered
plot the deformed shape
Your syntax for applying the deformation is correct. Perhaps your values of Displacement are not what you expect? We don't have ...

2 dagen ago | 0

| accepted

Answered
Help with regexp of varying filenames
Perform 2 checks, one for MESA, one for MAF. They use max on the combined result. % Case 1 cur_study_path='E:/MESA/IMAGES/Exam...

2 dagen ago | 0

Answered
Help clearing up "Unrecognized function or variable 'dt'."
Based on the code you've shared, and the error message you are getting, you have not defined the variable dt that you are using ...

2 dagen ago | 0

Answered
How do I download purchased toolboxes?
Use the Add-Ons explorer. See this page.

2 dagen ago | 0

Answered
ODE45 Related Question
I'm no expert, but I think if you create your own odefun, you can use an if statement to change the equation you use based on th...

3 dagen ago | 0

| accepted

Answered
Looping error where i want to get 5 instances of any same number in a column
With a little creativity, this can be done without using loops. n = [8,8,8,8,8,8,9,9,9,9,9,9,9,9,5,5,5,5,5,1,1,2,2,5,4,3,6,7,9,...

3 dagen ago | 0

| accepted

Answered
Displaying an integer value in a numeric edit field in App Designer
This is related to the display format. In the property inspector, loof for the ValueDisplayFormat property. The default is $11.4...

3 dagen ago | 0

| accepted

Answered
3D or surface plot
If you are going to build A using nested for loops, then you need to capture the result of each loop. You are currently overwrit...

3 dagen ago | 0

| accepted

Answered
"parse error at '=': usage might be invalid MATLAB syntax." on lines 34 and "parse error at END: usage might be invalid MATLAB syntax" on line 37. Please help! Thanks!
You have used the wrong syntax to declare your function. Expected syntax is function ave = average(x) ave = sum(x(:))/nume...

4 dagen ago | 0

Answered
Can i run matlab 2020b version code in 2020a ?
The documentation will refer to the latest version of MATLAB, which is currently 20b. This example was included in R202a as well...

4 dagen ago | 0

| accepted

Answered
How to split an array into individual values for passing them into a multiple input function?
If the function has 3 input arguments, MATLAB expects each input to be separated by commas. The way I would do this is to pass i...

4 dagen ago | 0

Answered
How to exclude weekend data from an excel sheet in matlab?
You have mixed data in your columns, so the way I would do this is as follows. Use readtable to load the first two rows. I'm go...

5 dagen ago | 1

| accepted

Answered
how to get the value from .mlapp file in .m file and after some processing in .m file again return to .mlapp file to display the result on GUI interface
What you are describing is a function. You can read about the basics here. You can add a function in app designer. See this pag...

6 dagen ago | 0

Answered
365 day loop for 59 years
Make sure your dates are datetimes. Then you can take advantage of the dates and time functions. Here's a rought outline. star...

6 dagen ago | 0

Answered
Check if Lat, Lon coordinate fall inside a polyshape Polygon
I think your inputs to inpolygon need to be the points. Try using the inputs to polyshape. inpolygon can test a vector of query ...

7 dagen ago | 0

| accepted

Answered
Simplifying 4 for loops into one
Why not just put it all in one loop? listCGS = nan([5 1]); listMGS = nan([5 1]); listHouse = nan([5 1]); listMat = nan([5 1]...

7 dagen ago | 0

| accepted

Load more