photo

Cris LaPierre

MathWorks

Last seen: Today Active since 2018

Followers: 6   Following: 0

Statistics

All
  • Commenter
  • Most Accepted 2023
  • Master
  • 36 Month Streak
  • Community Group Solver
  • Thankful Level 4
  • Most Accepted 2021
  • Revival Level 4
  • Solver
  • Knowledgeable Level 5
  • First Answer

View badges

Feeds

View by

Answered
Set tick label of the color bar with dates in the format yyyy-MM-dd HH:mm:ss.
I'm not sure how you created the dates variable used to set the tick labels. It can be difficult to convert decimal years back i...

5 hours ago | 0

Answered
Global variables are inefficient and. make errors difficult to diagnose
Why not pass the variables as inputs and outputs to your functions? I did this by putting all the code into one script, then use...

2 days ago | 1

| accepted

Answered
Help with MATLAB ODE45 to solve Heat Transfer Model
The odefxn is returning a row vector instead of a column vector. However, looking at your code, it should be returning a scalar....

2 days ago | 0

Answered
How to fix error in reading shape file vertices?
In the file you have shared, your shapefile has a single shape in it, and that shape does not contain an X property. unzip('PLA...

2 days ago | 0

Answered
Importing CAD file into matlab (STEP file)- Aircraft structure
I was able to load your step file into OnShape. Your file has 3 independent geometries in it. That is why you are getting this e...

3 days ago | 0

Answered
Problem Sets from Matlab Grader in Brightspace
The LTI integration of MATLAB grader currently functions at the problem level. That means each MATLAB Grader component in your L...

6 days ago | 1

Answered
Hello, I'm trying to create a plot for an equation of motion defined as a function.
It sounds like you have your function inside a larger script. In your version of MATLAB, the function must be moved to the botto...

7 days ago | 1

| accepted

Answered
Help with getting some times from a data set
I found it easiest to work with is the real csv file. T = readtable('mytime.csv','TextType','string'); % extract the values th...

7 days ago | 0

| accepted

Answered
Is there a way to plot two or several matrixes in one Diagramm using the same collor for respectively two Graphes?
The default colororder has 7 colors in it, and each series uses the next color in the colormap. Once the 7th line is used, the c...

8 days ago | 1

| accepted

Answered
Can MATLAB plot a graph like this? (Ignore the black lines and light blue areas; I only care about the red and blue points.)
This is a bubble chart. You can create this in MATLAB using bubblechart The legend isn't exactly the same, but conveys the rel...

8 days ago | 0

| accepted

Answered
while in ode45
One of your inputs to ode45 is tspan. If I were going to do this, I would look at building is so that my loop calls ode45 with t...

11 days ago | 0

| accepted

Answered
How to do 'if cell array contains any of these numbers, copy the content from other array of the same row'?
Here's one way using any and ismember via cellfun sport = {[1 2]; [5 6 8 9]; [3 6 7 8]; [1 3 9]}; link = ["li...

15 days ago | 0

| accepted

Answered
can anyone explain the code my calculus teacher explained this code in my class but I didn't understand it. The code is related to Mean value theorem.
You can put the code into the prompt in the MATLAB AI Chat Playground, then ask it to explain it to you. For example, I asked i...

15 days ago | 0

Answered
Probem with course progress
You can check if your progress is tied to a different version of the course: See here: https://www.mathworks.com/matlabcentral/...

16 days ago | 1

Answered
I have completed 40% of the MATLAB Fundamentals training but when i resume it shows 0% and restarts from the beginning
You can check if your progress is tied to a different version of the course: See here: https://www.mathworks.com/matlabcentral/...

16 days ago | 0

Answered
Array indices must be positive integers or logical values.
I can reproduce the error if I set kk=1. In this case, Phin(kk-1) becomes Phin(0), which is causing the error. In MATLAB, the in...

16 days ago | 0

| accepted

Answered
Why am I getting the incorrect test result for this section of the deep learning onramp>Manage Collections of Image Data> Create and Classify a Datastore> Task 3?
I was able to duplicate the issue. I'll report this internally and follow back up if there is a recommended workaround/fix.

17 days ago | 0

Answered
Why did the percentage of 25% disappear on a course on MATLAB Academy?
Check if your progress is tied to a previous version of the course. See here: https://www.mathworks.com/matlabcentral/answers/21...

19 days ago | 0

Answered
How do I sign into my careers account if I have forgoten the security question?
Contact support: https://www.mathworks.com/company/aboutus/contact_us.html?s_tid=gf_contact

21 days ago | 1

| accepted

Answered
Having issues going from trainNetwork to trainnet
You have a vector sequence, so your layout should be s-by-c matrices, where s and c are the numbers of time steps and channels (...

22 days ago | 0

Answered
Set decimal place for uitable
Set the column display format to 'shortE' (you can see other options here) fig = uifigure; uit = uitable(fig,"Data",randi(100,...

29 days ago | 1

Answered
MATLAB issue while try to install add-ons, installation get stucked
I would recommend contacting support: https://www.mathworks.com/support/contact_us.html Some add-ons can be downloaded first an...

29 days ago | 0

Answered
How to extract date time from format unique to InputFormat?
The format used to represent am/pm (04p:48:15.8148625) is not one recognized by MATLAB. You therefore need to manipulate your da...

29 days ago | 2

Answered
Reading data in MATLAB
The numbers are not captured in a format MATLAB can interpret. I would apply post-processing to turn the captured char arrays to...

29 days ago | 0

Answered
unable to download files from matlab online
I wasn't able to duplicate on a Win 11 machine using chrome. As a workaround, have you installed MATLAB Drive Connector? This w...

1 month ago | 0

| accepted

Answered
I renewed my MATLAB license and get error "1-6379G9" at activation. Can you help me proceed please?
It looks like you need to deactivate the license on your old machine first. Follow the instructions here: Link: Deactivate Lice...

1 month ago | 0

Answered
How to change push button colour while the simulation is running
Try adding drawnow following the code that changes the color. This tells MATLAB to update the figure now.

1 month ago | 0

| accepted

Answered
Me gustaría una gran ayuda con un programa que estoy haciendoen appdesigner,pero tengo una falla en un a linea.
You are trying to use a variable that has not been defined inside your function. What are convertedD1, convertedD1, and converte...

1 month ago | 0

Answered
problems in online training
I have passed this along internally. In the meantime, try clearing your cookies or using a different browser.

1 month ago | 0

Answered
I am getting an error "index in position 1 exceeds array bounds" in line 25
Try clearing your workspace before running your script. It looks like you may have created a variable that is taking precedence ...

1 month ago | 0

Load more