Community Profile

photo

Cris LaPierre


Last seen: Today

MathWorks

2,222 2018 年以降の合計貢献数

Cris LaPierre's バッジ

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

詳細を表示...

貢献した分野
表示方法

回答済み
If Else simple calculation not working
Your code works for me, with one modification - using Vals.Value instead of Vals.Values. One thing to be aware of, Your code wo...

約2時間 前 | 0

回答済み
Table display issue in live scripts ( R2021a version )
See this answer

約7時間 前 | 0

回答済み
how to run 2 while loops in one script
It seems like this could be written in a single while loop with an if statement that only executes the code corresponding to the...

約7時間 前 | 0

| 採用済み

回答済み
why my constant scope value is circle?
Look at your sampling time of your constant. By default, it is inf. This means it is sampled once at 0, and never again. Chan...

約7時間 前 | 0

回答済み
How to solve equivalent impedance
MATLAB Onramp, in particular Chs 1-6 and Ch 9.

約7時間 前 | 0

回答済み
Date & Time import
data = readtable('vivekData.txt') data.Var1.Format = 'yyyy-MM-dd HH:mm:ss'

約8時間 前 | 0

| 採用済み

回答済み
Value for a certain array is not computed correctly
Either your code is wrong, or you have incorrectly interpreted your algorithm. From lines 7-8, 1st Depth is column B, 2nd Depth...

約18時間 前 | 0

回答済み
Replace numbers in a matrix
Create your vector of numbers using square brackets, and assign it to column 4 the same way you did for the 3rd column. Hint: 1...

1日 前 | 1

回答済み
How to Colour regions in a gscatter?
This is actually from the Machine Learning Onramp, not MATLAB Onramp. See Chapter 2.5. The one you show is specifically in the b...

1日 前 | 0

回答済み
Legend does not match with the bar chart in MATLAB
I think the issue is that you are plotting your bars twice. Your legend applies to the data in the order it was plotted, so the ...

1日 前 | 0

| 採用済み

回答済み
Timetables inside table are not updating correctly
I think the issue is that you are treating tables like cells. In a cell, each can be a variable. However, in a table, an entire ...

2日 前 | 0

| 採用済み

回答済み
MATLAB app designer version error 2019b vs 2017.
Grid Layout was not available in 2017. You could try using the 'Save Copy As' option. Select 'Save as type' and choose the vers...

3日 前 | 0

| 採用済み

回答済み
Trapz not referred to x-axis
If you want to use trapz, use it to calculate the area below both lines, and then subtract them to find the area between the lin...

3日 前 | 0

| 採用済み

回答済み
I have a time series which my sensors recorded them in this format: 10.02.42.415 instead of this: 10:02:42.415 ! How can I fix my entire array (which is 465637 samples!)??
The simplest way I can think of is to use datetime. Since you have no date associated with the time, sutract off today's date to...

4日 前 | 1

| 採用済み

回答済み
plot y limit troubles
plot(w, min(50,t))

4日 前 | 0

回答済み
Unauthorized Linked problems in MATLAB Grader activity on LMS Moodle
Your LMS knows what problem to load based on the LTI key and the resource_link_id the platform assigns to the LTI problem. When ...

6日 前 | 1

| 採用済み

回答済み
How can I divide the colorbar into just two ranges?
The number of colors is controled by your colormap. However, MATLAB spreads the colormap evenly over the range of data plotted. ...

6日 前 | 0

回答済み
Migration from GUDE to App Designer
@G A provided this answer in a comment above: https://uk.mathworks.com/matlabcentral/answers/479426-migrated-guide-to-app-desig...

7日 前 | 0

回答済み
Accessing a full PDF of tasks and answers of ONRAMP
While MATLAB Onramp does have course files you can download, it does not contain exactly what you are asking for. It consists of...

7日 前 | 1

| 採用済み

回答済み
How to fix the waterfall plot curtain along the y-axis bug?
There appears to be an issue when plotting using very small step sizes in X. If you create the waterfall plot without specifying...

7日 前 | 0

回答済み
Could someone please explain what is wrong in my function?
You have not defined r and c. You have three options that I see. Pass in the single value to your function: Sign = signum (B...

8日 前 | 1

| 採用済み

回答済み
Check if string contains a set of numbers
It would be helpful to have more data to test with, but my approach would probably be to convert the cell of names to a string a...

8日 前 | 1

| 採用済み

回答済み
exit from a nested while loop after having set its index to a given value
We don't have enough data to run your example. However, the error message has to do with how you are indexing height. It would a...

9日 前 | 1

| 採用済み

回答済み
Error when combine tables vertically under some circumstances
I've edited your post to run your data and display the underlying issue. You use char arrays to create posture. To combine char...

9日 前 | 1

| 採用済み

回答済み
How to plot coupling functions?
If I don't use fplot, I do get a more descriptive error message. Based on the code you have shared, you are using your function ...

9日 前 | 0

回答済み
How do I change my code to stop a for loop simply replacing rows of outputs in a uitable?
Uitables do not have an append mode. When you specify data, you either need to specify the specific row, or reload all the data....

13日 前 | 0

| 採用済み

回答済み
dynamic title in app.UIAxes won't work
Your function is working, but it is returning a 1x3 cell array. Title does not accept a cell array of cells. When building your...

15日 前 | 1

| 採用済み

回答済み
Import .csv with missing delimiters and values
Perhaps you have not shared enough data for us to understand the problem. When asking a question about MATLAB, it's usually help...

15日 前 | 1

回答済み
Is there a way to control the length of t in the output of ode45?
Yes. Instead of using a time span, use a time vector. The equation will still be solved the same way (variable time step), but t...

15日 前 | 1

| 採用済み

回答済み
how do i use contour command for rectangular plate ?
Include your x and y vectors when plotting. You'll have to do some manipulation of y since you create it starting at 2 and decre...

16日 前 | 0

| 採用済み

Load more