Doug Mercer
2019년부터 활동
Followers: 0 Following: 0
Feeds
답변 있음
Saving and switching workspaces and contexts
You could write script(s) to switch to a particular workspace. You'd want to put the scripts in a folder that is always on your...
Saving and switching workspaces and contexts
You could write script(s) to switch to a particular workspace. You'd want to put the scripts in a folder that is always on your...
대략 5년 전 | 0
| 수락됨
문제를 풀었습니다
create a square matrix
create a [n*n] matrix. example: mat(4)= [ 1 4 9 16 4 4 9 16 9 9 ...
대략 5년 전
문제를 풀었습니다
Tent matrix
Create an n x n matrix that resembles one kind of tent. The variable n is provided to the function and will be an odd number. As...
대략 5년 전
문제를 풀었습니다
Solve the Sudoku Row
*Description* A simple yet tedious task occurs near the end of most Sudoku-solving algorithms, computerized or manual. The ta...
대략 5년 전
문제를 풀었습니다
Distance walked 1D
Suppose you go from position 7 to 10 to 6 to 4. Then you have walked 9 units of distance, since 7 to 10 is 3 units, 10 to 6 is 4...
대략 5년 전
문제를 풀었습니다
Sorting integers by their digits (Level 3)
This is the next step up from <http://www.mathworks.com/matlabcentral/cody/problems/42811-sorting-integers-by-their-digits-level...
대략 5년 전
문제를 풀었습니다
Sorting integers by their digits (Level 2)
This is the next step up from <http://www.mathworks.com/matlabcentral/cody/problems/42809-sorting-integers-by-their-digits Probl...
대략 5년 전
문제를 풀었습니다
Sorting integers by their digits (Level 1)
Given a vector, v, of positive integers, return a vector, w, by sorting v in ascending order, such that primary sorting is done ...
대략 5년 전
문제를 풀었습니다
Zero Cross
Write a function that counts the number of times n a signal x changes sign. Examples x = [1 2 -3 -4 5 6 -7 8 -9 10 11] ...
대략 5년 전
문제를 풀었습니다
Find the sum of the elements in the "second" diagonal
Find the sum of the elements in the diagonal that starts at the top-right corner and ends at the bottom-left corner.
대략 5년 전
문제를 풀었습니다
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...
대략 5년 전
문제를 풀었습니다
Indexed Probability Table
This question was inspired by a Stack Overflow question forwarded to me by Matt Simoneau. Given a vector x, make an indexed pro...
대략 5년 전
답변 있음
How to avoid nested for loop to make the code faster?
If you can generate A and B in a vectorized manner (i.e., for inputs x=[x_1, x_2, ..., x_k] the function A(x) returns a 2x2xk 3D...
How to avoid nested for loop to make the code faster?
If you can generate A and B in a vectorized manner (i.e., for inputs x=[x_1, x_2, ..., x_k] the function A(x) returns a 2x2xk 3D...
대략 5년 전 | 0
| 수락됨