# Amy

### MathWorks

Last seen: Today Active since 2017

Followers: 0   Following: 0

All

#### Feeds

View by

Keyboard shortcut for duplicating a line of code
In the Live Editor, or in the Editor in R2021b and later, you can use the shortcut Ctrl-Shift-C to duplicate the current line of...

3 years ago | 7

Hi Ben, From your screenshot, it looks like you are using R2019a. Live Tasks were first introduced in R2019b. If you upgrade to...

4 years ago | 0

Matlab unfolds folded code when I leave an open for/if loop (temporarily omit the "end" while working)
This bug is fixed as of R2018b. If you are still running into issues with unwanted code unfolding in R2018b or a later release, ...

5 years ago | 0

Permanent panel of GoTo section list
I don't think the exact feature you're describing exists at the moment, but the Current Folder browser does have a "Details" pan...

5 years ago | 1

Column/multi selection mode
Hi all -- column selection mode, or block edit mode, was added to the Live Editor in R2018a, and to the regular MATLAB Editor in...

5 years ago | 13

Solved

Who Has the Most Change?
You have a matrix for which each row is a person and the columns represent the number of quarters, nickels, dimes, and pennies t...

6 years ago

Solved

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

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

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

6 years ago

Plotting date-times with date in top right corner instead of bottom right
Hi Jonathan, there's <https://www.mathworks.com/matlabcentral/answers/309164-time-axis-based-on-the-last-24-hours this MATLAB an...

6 years ago | 0

| accepted

HOG feature extraction cell size
From the <https://www.mathworks.com/help/vision/ref/extracthogfeatures.html documentation for |extractHOGFeatures|>: To capture ...

6 years ago | 0

uicontrol vs annotation render order
Hi Jim - for more information on how graphics objects are rendered in releases since R2014b, try looking into these two document...

6 years ago | 0

Listbox multi selection without using Ctrl?
Have you considered putting multiple checkboxes or toggle buttons inside of a button group instead? It sounds like that might b...

6 years ago | 0

Combine Multiple Plot Components into Single Plot Legend Entry
Instead of using both 'scatter' and 'plot', why not just use 'plot' to create a <https://www.mathworks.com/help/matlab/creating_...

6 years ago | 0

| accepted

Having difficulty performing symbolic integral
Faraz, I think you are running into this issue because of the following line: int = A/pi; Then you run into an error the...

6 years ago | 0

Matlab 2017a in Ubuntu 17.10 - Very slow response in the Editor
Try the workaround mentioned in <https://www.mathworks.com/matlabcentral/answers/93405 this MATLAB answers post>, even though it...

6 years ago | 0

Is there a way to see the code within a Live Editor script (.mlx) without running the code?
Hi Christine, I'm sorry to hear you're having this issue. Since the .mlx file format <https://www.mathworks.com/help/matlab/...

6 years ago | 1

Deep Learning: How do I add regression ground truth data to an imageDatastore?
You can use an image datastore to get the image file names (without having to load the images from the dataset into memory at al...

6 years ago | 2

Solved

Pernicious Anniversary Problem
Since Cody is 5 years old, it's pernicious. A <http://rosettacode.org/wiki/Pernicious_numbers Pernicious number> is an integer w...

6 years ago

Solved

How to subtract?
*&plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn* * Imagine you need to subtract one...

6 years ago

hi can someone help in how to Make a time vector from 0 - 1 in steps of 1/44100
<https://www.mathworks.com/help/matlab/ref/colon.html> " |x = j:i:k| creates a regularly-spaced vector x using i as the incre...

6 years ago | 0

How to convert ECI coordinates with given sidereal time to ECEF coordinates ?
Hi Alexander, The Aerospace Toolbox has a function |<https://www.mathworks.com/help/aerotbx/ug/dcmeci2ecef.html dcmeci2ecef>|...

6 years ago | 0

Difficulty in matlab 2009a student version activation
Hi Shyam: You probably received an activation key instead of a serial number. Try following the steps in <https://www.mathwor...

6 years ago | 0

How do I create non uniform spacing between axis ticks like in figure ?
Hi Francesco, take a look at this documentation page if you haven't already: Specify Axis Tick Values and Labels There is also ...

6 years ago | 2

| accepted

Why insertMarker or plot command is not working in binary image?? getting error as "Error in insertMarker (line 73) validateAndParseInputs(I, position, varargin{:});"
Prithwish, In the <https://www.mathworks.com/help/vision/ref/insertmarker.html documentation for 'insertMarker'>, it says th...

6 years ago | 1

| accepted

how do you program matlab to select a number that wasn't presented in the stimuli? 50/50 between presented and not presented numbers for the Sternberg Task
Hi Michael, If you look at the <https://www.mathworks.com/help/stats/randsample.html documentation for the randsample> funct...

6 years ago | 0

how to change the linewidth of one line of the figure generated from using compare function?
Hi Gina, See <https://www.mathworks.com/help/matlab/creating_plots/access-and-modify-property-values.html accessing object ...

6 years ago | 0

I have two computers, one with a 32 bit windows 7 and another with 64 bit windows 10. I have a student license. Can I install and activate MATLAB in both of my computers with my license?
Hi Oscar, Yes, with an individual student license, it is possible to activate MATLAB on two computers at a time. See <https...

6 years ago | 0