Community Profile

photo

Cris LaPierre


Last seen: Today

MathWorks

1,662 2018 이후 총 참여 횟수

Cris LaPierre's 배지

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

세부 정보 보기...

참여 게시물
보기 기준

답변 있음
Matrix dimensions must agree.
You haven't told us what y is. Also be aware that diff returns a vector with one less element than it started with. You perform...

약 16시간 전 | 1

답변 있음
Invalid expression in function loading file
Same problem as in this recent post. See the answers provided there.

약 16시간 전 | 0

답변 있음
The first function is performing the calculations but the second, when ran, won't graph the results
"Could it also be the way t is assigned?" Yes, that is the issue. Your variable t is a loop counter, meaning it only ever has a...

1일 전 | 0

답변 있음
Interpolate a 1024x116 Matrix to a 1024x1024 Matrix
You should be able to do this using interp2.

2일 전 | 0

답변 있음
How can I write ln in Matlab?
MATLAB uses log for natural log and log10 for log base 10. See documentation for log and log10.

2일 전 | 0

답변 있음
Code Won't Animate in 2-D Path Tracing With Inverse Kinematics
Did you try opening the example file itself? openExample('robotics/TwoDInverseKinematicsExampleExample')

2일 전 | 0

답변 있음
How can I draw a six graph together in one figure using plot and hold on?
Did you try to use hold? Also, your for loop syntax appears to be wrong. You also have several undefined variables. hold on fo...

3일 전 | 0

| 수락됨

답변 있음
Generated script from Signal Analyser app - How to plot spectrogram?
Look at the comment just above the call to pspectrum. With output arguments assigned, it does not create a spectrogram. However,...

3일 전 | 0

| 수락됨

답변 있음
Files have been removed
I can't say for sure, but they still seem to be there. https://www.mathworks.com/matlabcentral/fileexchange/86103-casforest ht...

3일 전 | 0

| 수락됨

답변 있음
Issue with box plot code or something else?????
The problem is the your variable one in 2sn0_sorted, 3sn0_sorted, and 4sn0_sorted are row vectors, of dimension 1x100. You verti...

3일 전 | 0

| 수락됨

답변 있음
how to reset drop down list(go to first option) when pushing any other button in App designer
You have changed your example. By default, ItemsData is empty, so the original responses set the value by indexing Items. For ex...

3일 전 | 0

답변 있음
problem in the for - loop
Why would you expect them to be the same? When you get around to calculation res_y1(i), Y2 has the value of y2(length(y1)). If ...

4일 전 | 0

답변 있음
Help with an error when calling a function
It would appear either one of your for loops is not executing, or your if statement Square_Prediction == 1 is never true. When t...

4일 전 | 0

| 수락됨

답변 있음
Cannot link my MathWorks account to MATLAB Grader in my LMS
This sounds like an issue with your account. Please contact MathWorks support.

4일 전 | 0

답변 있음
Convert cell array to vector
T = load('timestamps.mat'); % Convert to a string array ts = string(T.ans); % Convert strings to durations ts = duration(t...

4일 전 | 1

답변 있음
Setting up time and date
Not sure I fully understand, but try this for setting up you time vector. tVec = today('datetime')+hours(13:.5:24.5)'

4일 전 | 0

| 수락됨

답변 있음
"Save as type" option does not exist in "MATLAB Online R2020b"
The Save As dialog in desktop MATLAB gives you the following options for Save as Type. In MATLAB Online, the Save button pres...

4일 전 | 0

답변 있음
Share Matlab Grader Collection from LMS
It is currently only possible to share collections created on the MATLAB Grader site. In order to share problems that were crea...

4일 전 | 1

답변 있음
putting a plot as different slices on an axis
One thought is to create your geometry using patches, which allow you to specify a z coordinate. pgon1 = [-0.5 -0.6882; 0.5 -0...

5일 전 | 1

| 수락됨

답변 있음
Plotting multiple graphs on each subplot
You are getting the second plot, but only one data point of it, so it's being plotted as a point. However, since you do ot speci...

5일 전 | 0

| 수락됨

답변 있음
Different colors for scatter plot points based on the difference of x-y values
You will need to come up with a vector that contains the values you want to use to set the color of the points. Once you have th...

5일 전 | 1

| 수락됨

답변 있음
Creating a Table with rows labeled from a matrix and exporting it into an excel file
See this post. If you want row times, you might be interested in created a timetable instead of a table. We don't have your s...

5일 전 | 1

| 수락됨

답변 있음
Loop how to sum part of matrix
Reshape your matrix to a 3x3x3 and then sum along the 3rd dimension.

5일 전 | 0

답변 있음
2D contour plot from XYZ data
Creating 2D contours from xyz values

5일 전 | 0

답변 있음
Looping matrice index at a specific interval, probably with mod
You could do something like this. This loop just creates an array showing the results. Each row would be the indices to use for ...

6일 전 | 1

| 수락됨

답변 있음
Index exceeds the number of array elements (1).
You can follow the steps provided in this answer to determine the issue.

6일 전 | 0

답변 있음
Index in position 1 exceeds array bounds (must not exceed 28).
I suspect the error is here: NLD(i,3) Position 1 is indexed by i. Since you are using a while loop, check what the value of i i...

6일 전 | 0

| 수락됨

답변 있음
30 most frequent words with more than 4 letters in a text file
See the Analyze Text Data with String Arrays example.

6일 전 | 1

답변 있음
Running a for loop with breaks
First point - you are not using ginput. You are using ginputc, which is a function obtained on the file exchange. From the desc...

6일 전 | 0

Load more