Community Profile

photo

Jared MacDonald


Last seen: 4 dagen ago

MathWorks

32 total contributions since 2012

Contact

Jared MacDonald's Badges

  • Knowledgeable Level 2
  • 3 Month Streak
  • Revival Level 2
  • First Review
  • First Answer
  • Solver

View details...

Contributions in
View by

Solved


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

6 maanden ago

Answered
live script inline plot
Hi Aline, I looked at your file but it wasn't clear what was different from what you were expecting. If you were expecting the s...

6 maanden ago | 0

Answered
Live Script versus Jupyter Notebook
From this MATLAB Answer: The Live Editor provides a new way to develop code for exploratory programming, to create an interacti...

9 maanden ago | 0

| accepted

Answered
Can sections be skipped with something similar to "return" or "continue"?
Hi Steeven, There is currently no way to skip a section other than writing a conditional. This is an intriguing suggestion, tho...

9 maanden ago | 0

Answered
Re-accessing arrays from live scripts
Hi ohmstead, Currently, live scripts do not restore the variables into the workspace when you open them. You must re-run the s...

9 maanden ago | 0

Answered
Pasting large code without forced wrapping
MATLAB does not do this. Presumably Mathematica is putting it onto the clipboard this way. You can confirm this as Rik notes by ...

9 maanden ago | 0

Answered
Matlab App Designer editor is very slow
Hi Robin, If possible, please update to release R2020a where this has been significantly improved. You can read more details i...

9 maanden ago | 0

Answered
How do I stop the editor from automatically creating a file that doesn't exist?
Hi Bill, Go to Preferences > General > Confirmation Dialogs, and ensure that "Prompt when editing files that do not exist" is s...

9 maanden ago | 0

| accepted

Answered
live scripts and messages
Hi Nick, You can animate plots in the Live Editor if you are using R2019b or later. Please see the release notes for more infor...

10 maanden ago | 1

Answered
live scripts and messages
Hi Nick, You can animate plots in the Live Editor if you are using R2019b or later. Please see the release notes for more infor...

10 maanden ago | 1

Answered
MATLAB live script freezes often
Hi Everett, This is a known issue that has been fixed in R2019b. Please see "stability" in this release note: https://www.math...

11 maanden ago | 0

Answered
excessive print stream output whe editing GUI elements and using live scripts
Hi Philipp, This is a known issue which has been fixed in R2019b. The issue related to the underlying browser technology that L...

11 maanden ago | 1

Answered
script file vs live script file
Hi Osama, This documentation page gives a good introduction: https://www.mathworks.com/help/matlab/matlab_prog/what-is-a-live-s...

11 maanden ago | 1

Answered
Matlab editor doubt - edit running code
Hi Harish, We have heard this pain from others and will fix this in an upcoming release. The short reason is that the action of...

11 maanden ago | 0

Answered
Can I save mlx-data from the live editor to latex output?
UPDATE: As of release R2017b, you can export live scripts to LaTeX directly by choosing "Export to LaTeX" from the Save dropdown...

11 maanden ago | 0

Answered
Manjaro Live Scripts Error
Hi Felix, ArchLinux is not an officially supported platform, but have you upgraded to R2019b or later since asking this questio...

11 maanden ago | 0

Solved


Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

bijna 3 jaar ago

Answered
Suppress command window output in matlab live editor in 2016a
Hi Aditya, This is by design in the Live Editor, which captures all output - plots and textual output - within the document. ...

meer dan 4 jaar ago | 0

Answered
Matlab Live Editor code hangs ?
Hi Timo, The code works OK in the Live Editor for me. Here's a screenshot of what I get: <</matlabcentral/answers/uploaded...

bijna 5 jaar ago | 0

| accepted

Answered
JX Chromium hangs in live editor
Hi Timo, Please submit your issue to <http://www.mathworks.com/support/contact_us/ MathWorks tech support> so we can gather a...

bijna 5 jaar ago | 0

Solved


Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Example...

meer dan 7 jaar ago

Solved


Is my wife right?
Regardless of input, output the string 'yes'.

meer dan 7 jaar ago

Solved


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

meer dan 7 jaar ago

Solved


Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

meer dan 7 jaar ago

Solved


Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

ongeveer 8 jaar ago

Solved


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

ongeveer 8 jaar ago

Solved


Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...

bijna 9 jaar ago

Solved


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

bijna 9 jaar ago

Solved


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

bijna 9 jaar ago

Solved


Add two numbers
Given a and b, return the sum a+b in c.

bijna 9 jaar ago

Load more