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년 초과 전
문제를 풀었습니다
radius of a spherical planet
you just measured its surface area, that is the input.
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년 전




