Community Profile

photo

Cris LaPierre

MathWorks

Last seen: 1日 前 2018 以来アクティブ

Statistics

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

バッジを表示

Content Feed

表示方法

回答済み
Problem in "Increasing Automation with Functions > Creating and Calling Functions > (5/5) Create and Call Local Function", Task 1, MatLab Fundamentals
I just tested it, and it works find for me. Can you share a screenshot of what you are seeing? Try exiting the course and then ...

1日 前 | 0

回答済み
Driving, Cycling, and Walking Activity Recognition with Accelerometers: How to distinguish between the activities using data obtained from an accelerometer?
I would point you to the following examples Human Activity Recognition Simulink Model for Smartphone Deployment Human Activity...

2日 前 | 1

| 採用済み

回答済み
Index in position 1 is invalid. Array indices must be positive integers or logical values.
I believe the issue here is that many of the values of vidIn are 0, which is not a valid index of htextinsCent. In MATLAB, your ...

3日 前 | 0

回答済み
Create a script circle.m that will which receives diameter as an argument and returns two outputs area and circumference. your script should prompt to give diameter
You are creating a function, while the instructions say to create a script. You might be interesting in the input function.

3日 前 | 0

回答済み
Expanding Array as following;
What about this? A=[1 0 0 1]; B = [A;A;A]; B = B(:)'

4日 前 | 0

回答済み
Workspace doesn't show varaibles in MATLAB online
Can you share a picture of your session? I haven't been able to duplicate the behavior. Try logging out and logging back in. If...

4日 前 | 0

回答済み
MATLAB thinks my entire script is commented, no idea why.
How was this file created? When I open the attached file in MATLAB, there are a lot more spaces between each letter. When I o...

4日 前 | 0

| 採用済み

回答済み
cumsum function question for integration
It has to do with the fact that sin(t) starts at 0 and is positive until pi. cumsum is just adding up the Y values, so it oscill...

4日 前 | 0

回答済み
I want to do exponential fitting for power decaying with time
The easiest approach is to use the Curve Fitting app inside a live script. This does require having the Curve Fitting Toolbox in...

4日 前 | 0

回答済み
Plot dynamics of an ODE
I'm assuming your goal is to plot a line for when the function rs is equal to zero for various values of p. You could do that us...

5日 前 | 0

| 採用済み

回答済み
Matlab User Interface - how can I fit more script in one line?
See this answer: https://www.mathworks.com/matlabcentral/answers/89333-how-to-increase-the-portion-reserved-for-writing-in-edit...

5日 前 | 0

| 採用済み

回答済み
Create/Export .stl file from a mesh
You can use the stlwrite function that ships with MATLAB. However, you do need to turn your mesh into a triangulation opject fir...

10日 前 | 0

| 採用済み

回答済み
Why is the run option greyed out here? What am I doing wrong with this function?
It is grayed out because you must call a function with inputs in a live script. See the note at the bottom of this page: "Runni...

12日 前 | 0

回答済み
How to use a slider
My preference would be to create app (simple tutorial incorporates a slider to adjust a plot), or perhaps use a live script with...

13日 前 | 0

回答済み
My matlab code with interp3 is not providing me correct answer. Please help.
I suggest looking at the description of what the inputs to interp3 can be. By taking the unique value of X, Y, and Z, you are l...

13日 前 | 1

回答済み
Create an 1D array x from 0 to 10 interval size 0.5
See MATLAB Onramp, Ch 4 covers creating vectors and matrices.

14日 前 | 0

回答済み
Why do I get the error message : 'Too Many Output Arguments' when I try to execute a function?
What function are you trying to call that is giving you the error? The code you shared doesn't use either of the functions you h...

15日 前 | 0

回答済み
As student how many courses can I enroll as self-pacing?
It depends on the type of license you have. Only the Onramps are freely available. The rest of the self-paced courses require a ...

15日 前 | 0

回答済み
Legend don't match with line style
The legend in MATLAB assigns labels based on the order the line objects are created in. What is perhaps unexpected here is that ...

15日 前 | 1

回答済み
plot row versus one another
See Ch 9 of MATLAB Onramp (Plotting)

16日 前 | 0

回答済み
Why does the license center say I don't have a linked license, but I really do.
Contact support: https://www.mathworks.com/support/contact_us.html

16日 前 | 0

回答済み
How can I save the results of a nested loop?
Note that your preallocation of results does not match the number of times your for loops will run. Keeping your for loops the w...

16日 前 | 1

| 採用済み

回答済み
How can i extract data from data from table using a string of words.
I think the Access Data in a Table page is what you want. You might also be interested in the height and width functions for tab...

16日 前 | 1

回答済み
Do you know how to remove some points from point cloud data?
Perhaps the pcdenoise function? Go through the examples on that page to see if it does what you want.

17日 前 | 0

| 採用済み

回答済み
Issue during for loop.
We are not familiar with the problem you are trying to solve, so can't comment on what the code 'should' be doing. We can only c...

17日 前 | 0

回答済み
How do I concatenate properly?
You need to put parentheses around your values to the left and right of the colon operators to force the order of operations to ...

17日 前 | 0

回答済み
Rotating DICOM file around z-axis
Y is uint16 while Rz is double. However, converting Y to double will just lead to a dimension error with your matrix multiplicat...

18日 前 | 0

回答済み
turn plot into a polyfit or polyval
In your figure window, select Tools > Basic Fitting Use the UI to find an appropriate fit to your data. Once done, export the r...

18日 前 | 0

回答済み
Create 3D geometry by revolve (e.g. a cone) for use in the partial differential equation toolbox
Perhaps not the answer you are looking for, but I've found it easiest to create my geometries in other tools, and then import an...

18日 前 | 0

| 採用済み

回答済み
Problem Using ode45 Function
The error I see is that you have not defined the inputs to your ode function in the correct order. Namely, t must be the first i...

18日 前 | 0

もっと読み込む