Community Profile

photo

Cris LaPierre

MathWorks

Last seen: Today 2018 이후 활성

Statistics

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

배지보기

Content Feed

보기 기준

답변 있음
Index exceeds the number of array elements. Index must not exceed 1.
See the full error message: Index exceeds the number of array elements. Index must not exceed 1. Error in LE_RF_p1 (line 4) X...

약 3시간 전 | 0

답변 있음
How to plot 3D vectors on a 2D plot?
The solution likely varies depending on your data, but I would probably first look into using imagesc: imagesc(x,y,C) This way...

약 11시간 전 | 1

| 수락됨

답변 있음
Appdesigner 'Value' must be double scalar
The Value property can only be a single numeric value (that's what is meant by 'double scalar'). It is likely the result of csvr...

약 12시간 전 | 0

| 수락됨

답변 있음
Edit field numeric appdesigner
I would use the Label component to add the '*X' to the right of the edit field.

1일 전 | 0

| 수락됨

답변 있음
What's the difference?
In b), you rerun the code you developed for a) for each student in your list. Typically this would be done by placing the code f...

1일 전 | 0

답변 있음
How to fix unallignment of box plot in subplot when using sgtitle?
Interestingly, if I run your code in a live script, it initially renders incorrectly, but then corrects itself. If I run your co...

4일 전 | 1

| 수락됨

답변 있음
How to recover .m file lost due to the abnormal termination
See this page: https://www.mathworks.com/help/matlab/matlab_env/recovering-data-after-an-abnormal-termination.html

4일 전 | 0

답변 있음
Can "datetime" be responsible for the misalignment of data in a plot ?
I think the allignment difference is due to what MATLAB is setting your axis limits to when the x values are datetimes (Jun 17 -...

6일 전 | 1

답변 있음
Live script, convert to local function
It is bad practice - and completely unnecessary - to create a function where the first command is clear. Remove this line of cod...

7일 전 | 0

| 수락됨

답변 있음
Chirp plot is not drawing
You need to place hold on before you add a second plot to your axes. Your code currently replaces the plot with the stem plot. ...

7일 전 | 0

답변 있음
How do I get MATLAB to read a long number as a date and time?
Convert your numbers to strings, and then use datetime to convert it to a time. % original data t = [11142021092415; 724202009...

7일 전 | 0

답변 있음
Combine two matrices according to datetime in first column
You are going to have a challenge here because the tolerance indicated in your example (~1 minute) is much larger than the small...

7일 전 | 0

| 수락됨

답변 있음
Get datenum to return missing instead of throwing an error
I would start by looking into the standardizemissing function.

13일 전 | 0

| 수락됨

답변 있음
Input mesh does not form a closed volume error; checked that mesh is watertight
I wouldn't say I can suggest a more elegant workflow, but here is one that I have found to work in the past. It involves using s...

14일 전 | 0

답변 있음
MATLAB Online does not run script properly
Code runs without error for me. I can also run it here without error. Perhaps try again? If it happens again, perhaps there are ...

15일 전 | 0

답변 있음
How do i delete a repeating row
Modified from this example [C,ia] = unique(grades{:, 1}); B = grades(ia,:) See this page for alternate ways to access data in...

17일 전 | 0

| 수락됨

답변 있음
Plotting data from text file , subplot
See the examples in the following documentation pages readmatrix subplot plot

19일 전 | 0

| 수락됨

답변 있음
Help with code, writematrix not working. Please help fix
Your first input to writematrix needs to be a variable name, not a char. Change this: writematrix('Departure City:','table1.xl...

19일 전 | 0

답변 있음
Operands to the || and && operators must be convertible to logical scalar values.
Use || and && when you are comparing a single (scalar) value. Use | and & when you are comparing arrays (when there is more than...

19일 전 | 0

답변 있음
Passing Data between two Apps
See this support page https://www.mathworks.com/help/matlab/creating_guis/creating-multiwindow-apps-in-app-designer.html and t...

19일 전 | 0

답변 있음
how can I open a matlab app that I designed in AppDesigner inside another app that I'm creating (always in AppDesigner)?
See the Create Multiwindow Apps in App Designer page

20일 전 | 1

| 수락됨

답변 있음
How to conditionally and by groups subtract one row from another in table?
I think I would calculate the results to a new table using groupsummary, then concatenate the tables. This is a little longer th...

20일 전 | 1

답변 있음
Extract data from sequentially named tables
Converting your tables to stuct or cells to me seems like taking a step backward. Why not just concatenate all the tables togeth...

21일 전 | 1

답변 있음
How to automatically get the axis of a figure in Live Editor?
You can get the axes object in a figure the same way you would outside of a live script. Option 1: capture the axes object by c...

22일 전 | 0

| 수락됨

답변 있음
I keep receiving an error when I try to run this code for a 3DOF mass-spring system "Index in position 1 exceeds array bounds. Index must not exceed 1".I am confused as to why
The problem is that zeta is a scalar, not a vector. The fix is to not index this variable. n=3; %degree of freedom m1= 45400; ...

24일 전 | 0

| 수락됨

답변 있음
Can matlab grader questions be vulnerable by hackers through pretest?
If the pretest assessment is a MATLAB Code test type, then learners can expand the test to see the underlying assessment test co...

24일 전 | 0

| 수락됨

답변 있음
Create a GUI interface in MATLAB for simple image functions like reading and displaying??
Take a look at this example app.

25일 전 | 1

| 수락됨

답변 있음
Help calculating values from a table into a loop
I would do this (untested) sumTbl = groupsummary(T,["timepoint","bird","day"],'sum',"value1") The result will be a table ident...

26일 전 | 1

| 수락됨

답변 있음
How to save/export MATLAB Grader contents?
There are a few options. The simplest is probably to create the new MathWorks account first. Then log into MATLAB Grader using ...

26일 전 | 0

답변 있음
Can someone provide a previous version of this Heat Pump example model?
It looks to me like this example was introduced in R2022a. You can open previous versions of the doc by adding the release to t...

28일 전 | 0

더로드