Community Profile

photo

Jared MacDonald

MathWorks

Last seen: 2 months ago Active since 2012

Followers: 0   Following: 0

Message

Statistics

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

View badges

Feeds

View by

Solved


Encode Roman Numerals
Create a function taking a non-negative integer as its parameter and returning a string containing the Roman Numeral representat...

1 year ago

Solved


Fibonacci sequence
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Input...

1 year ago

Answered
multiple line edit is not allowed on MATLAB file editor window?
Please note that the MATLAB Editor has this feature as of R2021b. You can hold "Alt" or "Option" while clicking to make a multi-...

1 year ago | 0

Answered
Live scripts don't work after installing matlab-support on Ubuntu Budgie
Jesús, please see this related MATLAB Answer about that error message. Thanks, Jared

2 years ago | 0

Answered
Increase the display window size from the disp() function in the exported HTML live script
Hi Rafael, If you remove the disp(...), the output will occupy the full width of your exported HTML: array2table(metadata_data...

2 years ago | 0

Answered
How to clear a specific piece of output in a Live Script?
Just to add, there is indeed a "Clear Output" right-click menu for outputs, in addition to "Clear All Output", which sounds like...

3 years ago | 2

Answered
How can I add footer in Live Script?
Hi Ramazan, there's no support for footers yet in live scripts. I've made a note of your suggestion, though.

3 years ago | 1

Answered
Life Scripts from Latex Impoert
Hi Ingo, Currently it is not possible to import a .tex file into MATLAB. Code could be written to do so but I don't know of any...

3 years ago | 1

| accepted

Answered
Auto Scrolling in LiveScript output
Hi Mason, You can turn this off by right-clicking in the outputs area and selecting "Disable Synchronous Scrolling": Jared

3 years ago | 0

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:...

3 years 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...

3 years 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...

4 years 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...

4 years 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...

4 years 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 ...

4 years 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...

4 years 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...

4 years ago | 1

| 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...

4 years 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...

4 years 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...

4 years 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...

4 years 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...

4 years 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...

4 years 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...

4 years 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...

4 years 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...

6 years 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. ...

7 years ago | 1

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...

8 years 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...

8 years 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...

11 years ago

Load more