photo

Jared MacDonald

MathWorks

Last seen: 8 dagar 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...

ungefär ett år 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...

ungefär ett år 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-...

nästan 2 år 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

nästan 2 år 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...

nästan 2 år 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...

ungefär 3 år 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.

mer än 3 år 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...

mer än 3 år 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

mer än 3 år 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:...

nästan 4 år 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...

nästan 4 år 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...

ungefär 4 år 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...

ungefär 4 år 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...

ungefär 4 år 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 ...

ungefär 4 år 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...

ungefär 4 år 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...

ungefär 4 år 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...

ungefär 4 år 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...

ungefär 4 år 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...

mer än 4 år 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...

mer än 4 år 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...

mer än 4 år 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...

mer än 4 år 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...

mer än 4 år 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...

mer än 4 år 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...

mer än 6 år 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. ...

nästan 8 år 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...

ungefär 8 år 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...

ungefär 8 år 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...

nästan 11 år ago

Load more