Community Profile

photo

Cris LaPierre


Last seen: Today

MathWorks

2 130 total contributions since 2018

Cris LaPierre's Badges

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

View details...

Contributions in
View by

Answered
Save Matlab data in Excel with ActiveX
See this example and this Answers post.

28 minutes ago | 0

Answered
My code works when i open the main file directly, but dont work when i open the file from matlab!
Perhaps you need to change the extension of your file? In MATLAB, .mat files are not executable scripts. They are binary files t...

environ 23 heures ago | 0

Answered
Plot polars in app designer
Support for PolarAxes in app designer was added in R2018b. What version of MATLAB are you using? Perhaps the example 'Create Po...

environ 23 heures ago | 0

| accepted

Answered
ODE Solver Function File Help - Must return a column vector
Check the dimensions of h, your output from Julia_Prob1a_fun. The ode solver expects a column vector, which has dimensions mx1. ...

1 jour ago | 0

Answered
plot from discrete points
Ch 9 of MATLAB Onramp covers plotting.

2 jours ago | 0

Answered
deleting of rows in a matrix
I'd use a logical array (Ch 12 of MATLAB Onramp) created by ismember. I had to fix some values of A. % Original matrix A=[0.02...

3 jours ago | 1

| accepted

Answered
Building a matrix inside a for loop
See this example.

4 jours ago | 0

Answered
How to change the style of plot with different colors using matlab?
There are ways to do this, but not using plot. See this answer. It does require you determining a good way to get the colors to ...

4 jours ago | 0

Answered
Calling a number from an edit in a uicontrol in a separate function
It looks like you are trying to build an app programmatically. If you haven't already done so, I recommend looking at this examp...

4 jours ago | 0

Answered
how to increasse Bar3 plot bar thickness in both axies
You could try using the 'Width' name value pair (see this example), but I think the bigger issue is the scale of your X vs Y axe...

4 jours ago | 0

Answered
1-cos(x)^2 doesn't simplify?
Perhaps try using the Steps name-value pair. syms x simplify(1-cos(x)^2,'Steps',10)

4 jours ago | 2

| accepted

Answered
how to store the data in table after running if loop
You need to assign the results from each look to a matrix. See this example. You can learn more about for loops in Ch 13 of MAT...

4 jours ago | 0

| accepted

Answered
XY MODEL COLOR MAP/PCOLOR
This looks like the HSV colormap. I'm not sure what you have for data, but first thought is to use imagesc. % create a matrix ...

4 jours ago | 0

Answered
ode 45 doesnt work
There is an issue with your initial conditions. See this post on how to set up an initial value problem when t ~= 0. However, y...

4 jours ago | 1

Answered
My timeSpan is considered a nonscalar operator when using if statement. Help.
Your if statement is not doing what you think it is doing. To learn more about how an if statement works, I suggest going throug...

5 jours ago | 1

| accepted

Answered
read csv file with dates and numerical in R2016b
Use readtable.

7 jours ago | 0

| accepted

Answered
Find specific entry based on column value in table
I'd create a logical array of the name column, and use that to extract the number from the first column. You can learn about log...

7 jours ago | 0

| accepted

Answered
Multiple geoplot lines with one call
Use the documentation to determine what valid input arguments are. Your observation is correct - geoplot currently only supports...

11 jours ago | 0

Answered
How do i convert .mdl file to slx
See this answer.

11 jours ago | 0

Answered
Some issues about showing a plot in App Designer
When plotting in an app, you must specify the target axes. plot(ax,___) So inside your class, your plot command might be plo...

11 jours ago | 0

Answered
I would like to know how to write a MATLAB code that reads and imports the coordinates of an element (A) that is in a dataset from another dataset that contains this element (A)
Sounds like you might want to look into logical arrays. You can learn about them in MATLAB Onramp (CH 12).

13 jours ago | 0

Answered
removevars ERROR for a table
I can't reproduce your error message, but I do get a different error. One of the variable names you are trying to remove does no...

14 jours ago | 1

Answered
How to read the rainfall data format attached in the file and obtain the monthly, annual daily and hourly maximum values? Kindly help me with this
Once you get the data to import correctly (see datetime for time formatting options), I think you want to use groupsummary. Use ...

14 jours ago | 1

| accepted

Answered
simple array calculation help
I suggest going through MATLAB Onramp

14 jours ago | 0

Answered
Plotting two columns of data
Ch 9 of MATLAB Onramp covers plotting. You might also try the plot documentation page.

14 jours ago | 0

Answered
plot different data in one surface plot
One way to do this is to create a matrix with the results of peaks in 1-25 and sin(peaks) in 26-50. mat = peaks; mat(:,26:end)...

14 jours ago | 0

| accepted

Answered
cannot find the funcion "generateTargets"
You can open this example in MATLAB using the following code openExample('deeplearning_shared/ObjectDetectionUsingYOLOV3DeepLea...

15 jours ago | 0

| accepted

Answered
Multiplying anonymous function by a vector
You have defined your function to have an input - th. Therefore, when you use your function handle, you have to supply it an inp...

15 jours ago | 0

| accepted

Answered
For loop with variable
Ch 13 of MATLAB Onramp covers for loops.

15 jours ago | 1

Load more