統計
All
Feeds
解決済み
Is my wife right? Now with even more wrong husband
Again, as in "Is my wife right?" ( <http://www.mathworks.com/matlabcentral/cody/problems/149-is-my-wife-right> ), answer 'yes' r...
12年以上 前
解決済み
Bullseye Matrix
Given n (always odd), return output a that has concentric rings of the numbers 1 through (n+1)/2 around the center point. Exampl...
12年以上 前
解決済み
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...
12年以上 前
解決済み
Bottles of beer
Given an input number representing the number of bottles of beer on the wall, output how many are left if you take one down and ...
12年以上 前
回答済み
how to remove unwanted signal
I managed to solve my problem by just recreating a signal with the similar shape and after filtering the original signal i appli...
how to remove unwanted signal
I managed to solve my problem by just recreating a signal with the similar shape and after filtering the original signal i appli...
12年以上 前 | 0
解決済み
Sorted highest to lowest?
Return 1 if the input is sorted from highest to lowest, 0 if not. Example: 1:7 -> 0 [7 5 2] -> 1
12年以上 前
解決済み
Swap the input arguments
Write a two-input, two-output function that swaps its two input arguments. For example: [q,r] = swap(5,10) returns q = ...
12年以上 前
解決済み
Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...
12年以上 前
解決済み
Make one big string out of two smaller strings
If you have two small strings, like 'a' and 'b', return them put together like 'ab'. 'a' and 'b' => 'ab' For extra ...
12年以上 前
解決済み
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...
12年以上 前
回答済み
how to remove unwanted signal
Here is a copy of the signal for 60 seconds. 15716 16058 15830 15950 15850 16102 15942 15920 16244 16205 16193 158...
how to remove unwanted signal
Here is a copy of the signal for 60 seconds. 15716 16058 15830 15950 15850 16102 15942 15920 16244 16205 16193 158...
12年以上 前 | 0
質問
how to remove unwanted signal
I have a signal that is roughly in the shape of a sine wave rectifier. At random intervals there are square wave pulses inserted...
12年以上 前 | 4 件の回答 | 0
4
回答解決済み
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 ...
12年以上 前
解決済み
Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...
12年以上 前
解決済み
Determine if input is odd
Given the input n, return true if n is odd or false if n is even.
12年以上 前
解決済み
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...
12年以上 前
解決済み
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 ...
12年以上 前
解決済み
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...
12年以上 前
解決済み
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:...
12年以上 前
質問
how do I calibrate an accelerometer?
I am trying to calibrate a sensor. could somebody please help me find the values of theta xy, yx, yz, zx. or explain how to deri...
約13年 前 | 1 件の回答 | 0
1
回答質問
how do i solve for the unknown variable
I have 3 axis x y and z. I wish to find Z such that the sum of the squares would be equal to 1. the data is stored in a vecto...
約13年 前 | 1 件の回答 | 0
