Madeline Gardner
自 2018 起处于活动状态
Followers: 0 Following: 0
Feeds
已解决
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 前
已解决
Back and Forth Rows
Given a number n, create an n-by-n matrix in which the integers from 1 to n^2 wind back and forth along the rows as shown in the...
6 years 前
已解决
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...
6 years 前
已解决
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 前
已解决
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 前
已解决
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...
6 years 前
已解决
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...
6 years 前
已解决
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. Examp...
6 years 前
已解决
Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...
6 years 前
已解决
Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...
6 years 前
已解决
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 years 前
已回答
App Designer, addlistener for slider
Hello! It looks like App designer has a ValueChanging callback for a slider that gets the value continuously as the slider up...
App Designer, addlistener for slider
Hello! It looks like App designer has a ValueChanging callback for a slider that gets the value continuously as the slider up...
6 years 前 | 5
| 已接受
已回答
How to save each iteration of a loop into the same sheet of an Excel spreadsheet using a mac and the function Mac OSX friendly function xlwrite
Hello! Assuming that xlwrite supports the same syntax as <https://www.mathworks.com/help/matlab/ref/xlswrite.html xlswrite>, ...
How to save each iteration of a loop into the same sheet of an Excel spreadsheet using a mac and the function Mac OSX friendly function xlwrite
Hello! Assuming that xlwrite supports the same syntax as <https://www.mathworks.com/help/matlab/ref/xlswrite.html xlswrite>, ...
6 years 前 | 0
| 已接受
已回答
I want to change/switch between the tabs in the GUI (App Designer) when i press the button?
Hello! Add a callback to the button that contains the code app.TabGroup.SelectedTab = app.InputsTab; You may need to ...
I want to change/switch between the tabs in the GUI (App Designer) when i press the button?
Hello! Add a callback to the button that contains the code app.TabGroup.SelectedTab = app.InputsTab; You may need to ...
6 years 前 | 15
| 已接受
已回答
Problem with table column not being double when workspace identifies it as such
Hello! So there are a few things going on here. One thing I noticed is that you turn N, the trajectory array, into a tabl...
Problem with table column not being double when workspace identifies it as such
Hello! So there are a few things going on here. One thing I noticed is that you turn N, the trajectory array, into a tabl...
6 years 前 | 3
| 已接受
已回答
How do I make empty lists in MATLAB Live Script and append to it?
Hello! Luckily, Python and MATLAB have pretty similar syntax, so your code is actually going to look pretty similar! You'll b...
How do I make empty lists in MATLAB Live Script and append to it?
Hello! Luckily, Python and MATLAB have pretty similar syntax, so your code is actually going to look pretty similar! You'll b...
6 years 前 | 0
已回答
How to display coordinates as rectangle is drawn over an image?
Hello! One way that you could do this is by using <https://www.mathworks.com/help/images/ref/imrect.html imrect> instead of g...
How to display coordinates as rectangle is drawn over an image?
Hello! One way that you could do this is by using <https://www.mathworks.com/help/images/ref/imrect.html imrect> instead of g...
6 years 前 | 2
| 已接受
已回答
How do I rotate a rectangle around its bottom left corner by some angle 'theta_end'?
Hello! Unfortunately that rotate command is for rectangles created with the Antenna Toolbox, so it won't work for a graphics ...
How do I rotate a rectangle around its bottom left corner by some angle 'theta_end'?
Hello! Unfortunately that rotate command is for rectangles created with the Antenna Toolbox, so it won't work for a graphics ...
6 years 前 | 2
| 已接受
已回答
How to update a matrix after iteration in a for loop and then use it in next iteration
Hello! If I've understood your question correctly, then I think your main issue is that you are trying to save each iteration...
How to update a matrix after iteration in a for loop and then use it in next iteration
Hello! If I've understood your question correctly, then I think your main issue is that you are trying to save each iteration...
6 years 前 | 3
| 已接受