MATLAB Answers


8 May 2021 at 22:36
dpb flagged Building a "Typical Year" from averaging daily-hourly data over several years as Duplicate

Answered to Comment of same Q? posted earlier -- dpb

8 May 2021 at 0:29
DGM flagged an answer

This is neither an _answer_ nor is it relevant to the topic of this thread.

7 May 2021 at 18:17
7 May 2021 at 2:08
Mustafa kaddoura flagged a comment

This solved an issue I am facing is the Optimization with Parallel Computing Toolbox. The 'Parallel' option doesn't allow me to use Global variables, so I used the solution presented here!

6 May 2021 at 16:09
Rik flagged an answer

to be deleted in ~24h

29 Apr 2021 at 8:34
mohammad ali rashidioun flagged a comment

it was great

27 Apr 2021 at 16:56
Paul Hoffrichter flagged Create 100 random particles(all the same size) in an empty plot with dimensions (x-axis from -16 to 16) and (y-axis from -16 to 16) and (angle from 0 to 2*pi) as Duplicate

Duplicate questions (as of 2021-04-27): https://www.mathworks.com/matlabcentral/answers/806792-index-in-position-1-is-invalid-array-indices-must-be-positive-integers-or-logical-values?s_tid=prof_contriblnk https://www.mathworks.com/matlabcentral/answers/805766-index-in-position-1-is-invalid-array-indices-must-be-positive-integers-or-logical-values?s_tid=prof_contriblnk https://www.mathworks.com/matlabcentral/answers/813670-create-100-random-particles-all-the-same-size-in-an-empty-plot-with-dimensions-x-axis-from-16-to?s_tid=srchtitle https://www.mathworks.com/matlabcentral/answers/809330-index-in-position-1-exceeds-array-bounds-must-not-exceed-641-error-in-measurements-line-117?s_tid=prof_contriblnk

27 Apr 2021 at 16:55
Paul Hoffrichter flagged Index in position 1 exceeds array bounds (must not exceed 641). Error in measurements (line 117) if m(xo,yo) ==0 as Duplicate

Duplicate questions (as of 2021-04-27): https://www.mathworks.com/matlabcentral/answers/806792-index-in-position-1-is-invalid-array-indices-must-be-positive-integers-or-logical-values?s_tid=prof_contriblnk https://www.mathworks.com/matlabcentral/answers/805766-index-in-position-1-is-invalid-array-indices-must-be-positive-integers-or-logical-values?s_tid=prof_contriblnk https://www.mathworks.com/matlabcentral/answers/813670-create-100-random-particles-all-the-same-size-in-an-empty-plot-with-dimensions-x-axis-from-16-to?s_tid=srchtitle https://www.mathworks.com/matlabcentral/answers/809330-index-in-position-1-exceeds-array-bounds-must-not-exceed-641-error-in-measurements-line-117?s_tid=prof_contriblnk

27 Apr 2021 at 16:55
Paul Hoffrichter flagged Index in position 1 is invalid. Array indices must be positive integers or logical values. as Duplicate

Duplicate questions (as of 2021-04-27): https://www.mathworks.com/matlabcentral/answers/806792-index-in-position-1-is-invalid-array-indices-must-be-positive-integers-or-logical-values?s_tid=prof_contriblnk https://www.mathworks.com/matlabcentral/answers/805766-index-in-position-1-is-invalid-array-indices-must-be-positive-integers-or-logical-values?s_tid=prof_contriblnk https://www.mathworks.com/matlabcentral/answers/813670-create-100-random-particles-all-the-same-size-in-an-empty-plot-with-dimensions-x-axis-from-16-to?s_tid=srchtitle https://www.mathworks.com/matlabcentral/answers/809330-index-in-position-1-exceeds-array-bounds-must-not-exceed-641-error-in-measurements-line-117?s_tid=prof_contriblnk

27 Apr 2021 at 16:55
Paul Hoffrichter flagged Index in position 1 is invalid. Array indices must be positive integers or logical values. as Duplicate

Duplicate questions (as of 2021-04-27): https://www.mathworks.com/matlabcentral/answers/806792-index-in-position-1-is-invalid-array-indices-must-be-positive-integers-or-logical-values?s_tid=prof_contriblnk https://www.mathworks.com/matlabcentral/answers/805766-index-in-position-1-is-invalid-array-indices-must-be-positive-integers-or-logical-values?s_tid=prof_contriblnk https://www.mathworks.com/matlabcentral/answers/813670-create-100-random-particles-all-the-same-size-in-an-empty-plot-with-dimensions-x-axis-from-16-to?s_tid=srchtitle https://www.mathworks.com/matlabcentral/answers/809330-index-in-position-1-exceeds-array-bounds-must-not-exceed-641-error-in-measurements-line-117?s_tid=prof_contriblnk

26 Apr 2021 at 10:40
Rik flagged position, velocity, acceleration as Unclear

An old thread without any response from the OP. Should it be deleted, closed, or left as-is?

21 Apr 2021 at 21:13
Cam Salzberger flagged Index in position 1 is invalid. Array indices must be positive integers or logical values. as Duplicate

Duplicate of this question: https://www.mathworks.com/matlabcentral/answers/806792

12 Apr 2021 at 3:02
Mi C flagged an answer

which coordinate system is translationOfCamera2 defined?I think it should be defined in the camera1-based world coordinate system.

11 Apr 2021 at 16:09
dpb flagged Binomial Distribution using mean and variance as Duplicate

Responded earlier -- the other didn't state the problem as obviously homework --

8 Apr 2021 at 10:06
Jan flagged a comment

It is not "condescending" to mention, that reading the documentation is required. Therefore I consider this comnment as an insult.

30 Mar 2021 at 6:19
Rik flagged an answer

There is no attachment, but the text suggests there is.

29 Mar 2021 at 7:17
Rik flagged implemention in matlab for sensorless speed control of bldc motor using extended kalman filter as Unclear

@Adam, yes, this is only going to attract other comments asking for the code

28 Mar 2021 at 21:37
Adam Danz flagged implemention in matlab for sensorless speed control of bldc motor using extended kalman filter as Not appropriate for MATLAB Answers

Is there a 2nd opinion that this thread should be closed?

26 Mar 2021 at 19:39
Adam Danz flagged an answer

Typo: WRAPTO60 should be WRAPTO360

24 Mar 2021 at 14:35
Cris LaPierre flagged How can I plot surface normals? as Duplicate

https://www.mathworks.com/matlabcentral/answers/769632-how-can-i-plot-the-surface-normal-variation-of-any-given-surface?s_tid=srchtitle

20 Mar 2021 at 20:12
Bruno Giordano flagged an answer

This is not a working answer. The accepted answer is the most upvoted below

8 Mar 2021 at 16:31
1 Mar 2021 at 12:46
Paresh yeole flagged please covert this program from c++ to matlab as Not appropriate for MATLAB Answers

1 Mar 2021 at 12:29
Mario Malic flagged please covert this program from c++ to matlab as Not appropriate for MATLAB Answers

7 Feb 2021 at 1:01
Cris LaPierre flagged is there a way to plot change point detection on a scatter plot? as Duplicate

https://www.mathworks.com/matlabcentral/answers/738117-is-there-a-way-to-turn-scatter-plots-to-data?s_tid=srchtitle

4 Feb 2021 at 10:40
Jan flagged a comment

New question - please post it in a new thread and remove this comment. Thanks.

31 Jan 2021 at 15:52
Cris LaPierre flagged an answer

This post is unclear. There is no way to designate a new owner when copying a course. You must contact customer support to transfer ownership of a course.

30 Jan 2021 at 21:05
27 Jan 2021 at 13:23
Steven Lord flagged a comment

Unrelated to original question, please ask as a new question (with a lot more detail about what you've tried.)

23 Jan 2021 at 13:43
dpb flagged Speedgoat machine and ROS as Duplicate

20 Jan 2021 at 15:26
Steven Lord flagged an answer

Unrelated to original question

20 Jan 2021 at 9:23
Afaq Ahmad flagged a comment

Answer

11 Jan 2021 at 10:27
31 Dec 2020 at 15:02
dpb flagged m file for equation help me p/se as Duplicate

<https://www.mathworks.com/matlabcentral/answers/706068-plot-matlab-command-for-the-equation-below?s_tid=srchtitle> Gave some hints there...

31 Dec 2020 at 12:08
Walter Roberson flagged Why unifrnd(lb,ub,[nPop,D]) gives error? as Unclear

User deleted a lot of comments that gave context to the responses.

26 Dec 2020 at 6:53
Stephen Cobeldick flagged How to use scatteredInterpolant on given data? as Unclear

Please restore uploaded CSV file.

25 Dec 2020 at 22:27
Sayed Raiq flagged How to Compile a UDP Send/Receive Block in IPG Car Maker PLugin Modell? as Unclear

Hello, the Question is from my old student Account and i want to delete the question and the old Account if possible.

29 Nov 2020 at 20:00
Adam Danz flagged an answer

Needs updated to include Shift+F5

18 Nov 2020 at 8:26
Rik flagged Write a function to ask for given number and report whether they are between 10 and 100 or not as Not appropriate for MATLAB Answers

OP probably edited away the question body

25 Oct 2020 at 17:07
Cam Salzberger flagged Is it possible to change pyenv to a virtual machine running ROS? as Duplicate

Duplicate of https://www.mathworks.com/matlabcentral/answers/615978 (the later question has more detail, so makes sense to keep that one)

28 Sep 2020 at 23:28
Adam Danz flagged an answer

This thread still gets a lot of attention and should be updated to include methods accepted by polaraxes.

7 Aug 2020 at 6:09
Rik flagged How to extract the text from images without using OCR. will you plz help me. in matlab 13 version as Not appropriate for MATLAB Answers

Content removed, please restore.

12 May 2020 at 5:54
Christian Bard flagged False Negative when using Polyspace Code Prover as Unclear

Polyspace Code prover is not finding bugs but tries to prove code correctness on an exhaustive list of runtime check.

28 Jan 2020 at 23:29
Walter Roberson flagged a comment

The user asked which software Alex was using and Alex responded; that is not spam. It is not uncommon for people to ask to optimize particular sets of equations and for volunteers to use whatever software they have handy to provide a solution; often the user cares more about the results than about the code to replicate the solution in MATLAB.

28 Jan 2020 at 13:02
Star Strider flagged a comment

Maybe it is just my perspective, however I definitely have a problem with what appears to be persistent spam for ‘1stOpt’.

18 Oct 2019 at 5:58
Andrei Bobrov flagged Display char matrix vertically as Unclear

duplicate of 'https://www.mathworks.com/matlabcentral/answers/485797-replace-number-array-with-characters'

13 Sep 2019 at 16:13
Walter Roberson flagged how PCA can be applied to an image to reduce its dimensionality with example? as Unclear

question seems to have been edited away at some point

24 Apr 2019 at 21:15
22 Mar 2019 at 15:14
Dejan Dimitrijevic flagged an answer

not the answer to the question asked

3 Mar 2019 at 18:07
Star Strider flagged presenting result in a table as Not appropriate for MATLAB Answers

OP completely removed the text of the original Question! Please restore.