統計
All
Feeds
解決済み
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 ...
10年以上 前
解決済み
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...
10年以上 前
解決済み
Determine if input is odd
Given the input n, return true if n is odd or false if n is even.
10年以上 前
送信済み
Immediate_Neighbors(x)
Function that calculates the sum of the 8 neighboring pixels for every pixel in an image
10年以上 前 | ダウンロード 1 件 |
質問
How can I generate a "movie" using a series of binary images?
I have a 3-D matrix where each x-y plane defines a binary image. variable(:,:,1) calls image one; variable(:,:,2) is image 2...
10年以上 前 | 1 件の回答 | 0
1
回答解決済み
Create a Matrix of Zeros
Given an input x, create a square matrix y of zeros with x rows and x columns.
10年以上 前
解決済み
Circle area using pi
Given a circle's radius, compute the circle's area. Use the built-in mathematical constant pi.
10年以上 前
解決済み
Simple equation: Annual salary
Given an hourly wage, compute an annual salary by multiplying the wage times 40 and times 50, because salary = wage x 40 hours/w...
10年以上 前
解決済み
The Hitchhiker's Guide to MATLAB
Output logical "true" if the input is the answer to life, the universe and everything. Otherwise, output logical "false".
10年以上 前
解決済み
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 ...
10年以上 前
質問
How do I individually calculate the area of each enclosed space within a binary image?
I have a binary image with multiple enclosed, assumed to be circular, areas and would like to calculate the enclosed areas indiv...
11年弱 前 | 1 件の回答 | 0
1
回答回答済み
how to calculate the area of the segmented region?
You can calculate the area of a segmented image using the regionprops function: area = regionprops(your_image_name , 'Area'...
how to calculate the area of the segmented region?
You can calculate the area of a segmented image using the regionprops function: area = regionprops(your_image_name , 'Area'...
約11年 前 | 0
回答済み
How do I convert data stored in a variable as a matrix to an excel file?
There is a built-in function that can do this for you called 'xlswrite'. It is much better than transcribing numbers by hand. ...
How do I convert data stored in a variable as a matrix to an excel file?
There is a built-in function that can do this for you called 'xlswrite'. It is much better than transcribing numbers by hand. ...
約11年 前 | 0
質問
How to call a function with a GUI push button
I would like to create a GUI that performs a set of specified operations (defined in a separate function) on an image chosen by ...
約11年 前 | 1 件の回答 | 0
1
回答解決済み
Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...
約11年 前
解決済み
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 ...
約11年 前
解決済み
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...
約11年 前
解決済み
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:...
約11年 前




