Solved


Area of a circle
Given the radius x, y would be the area of a circle. Pi = 3.1416

9 years ago

Solved


Remove the middle element from a vector
Remove the middle element of a vector? *Example:* [1,2,3] should return 2 [1,2,3,4] should return 2 [] should return...

9 years ago

Solved


Calculate compression ratio of engine
Calculate compression ratio of engine given compression volume of cylinder(Vc), piston stroke(s) and valve diameter(d)

9 years ago

Solved


Sort an array of structures
You need to sort an array of structures based upon *a numeric first field*: For example : a.n=1; a.name='a'; b.n=3...

9 years ago

Solved


Transpose of matrix
Transpose of matrix as per test cases

9 years ago

Solved


Slicing the cube
A bored matlab enthusiast has a cube with volume n^3. He decides to paint the entire surface of the cube red. Then, with slices...

9 years ago

Solved


Write a code that will follow the equation y = x * (x + x) * x.
If x = 5, y = 5 * (5+5) * 5 = 250

9 years ago

Answered
How to find whether a ROI handle exist, if the ROI is not visible in the figure axes?
What do you mean by "display the updated image in GUI axes"? If you mean that you make a call to imshow or imagesc, then chances...

9 years ago | 0

| accepted

Answered
How to change or modify variable that already exists netcdf ?
There should be no output arguments for ncwrite. Check the documentation <http://www.mathworks.com/help/matlab/ref/ncwrite.html ...

9 years ago | 1

| accepted

Solved


Sum of digits of powers of 2
Given n, first, calculate the number 2^n. Then, sum the digits that comprise that number. For example: Input: n = 7 2^n = ...

9 years ago

Solved


Rutgers Homework 3 Problem 3
Please solve homework 3 problem 3. You can find the full problem statement here: https://drive.google.com/file/d/0B9G6VyQG...

9 years ago

Solved


Rutgers Homework 3 Problem 2
Please create a function that answers homework problem 3.2. You can find the full problem statement here: https://drive.go...

9 years ago

Answered
How can I use the imgaussfilt() function to process several images i have already saved into an array in the workspace?
It looks like you are sending a cell array to the imgaussfilt function instead of just a single image. Watch your indexing. Chan...

9 years ago | 0

Submitted


cubeint
Cube intersection volume.

9 years ago | 2 downloads |

5.0 / 5

Answered
Plotting on axes in a GUI after running the GUI's callback from a different script
Why do you want to run the callback from a script instead of using the pushbutton? testGUI('plot_button_Callback',fig_handl...

9 years ago | 0

Answered
How to return array of pixel values associated with image matrix (C)?
Try using <https://www.mathworks.com/help/images/ref/mat2gray.html mat2gray>. I = mat2gray(flipud(C),clim); EDIT: the co...

9 years ago | 0

Solved


find the Area of a rectangle
length is x width is y what is the area of the rectangle?

9 years ago

Solved


Prime number removal
remove all prime numbers from the input e.g. input = 1 2 3 4 5 6 7 8 9 10 11 12 ...

9 years ago

Solved


Calculating cost
You sold a Product at $x and gain 10% What was the cost of the product?

9 years ago

Solved


Angle difference between Hour Hand and Minute Hand of clock
*Calculate the difference of angles between Hour hand and Minute hand of clock* E.g. 1) At 12:00 Angle Difference = 0 deg...

9 years ago

Solved


Select every other element of a matrix
Write a function called outMat = odd_idx( myMat ) that takes a matrix, myMat, as input argument and returns a matrix th...

9 years ago

Solved


Find remainder when x is divided by 3
Find remainder when x is divided by 3

9 years ago

Solved


find square root of a positive real number
a number given, find the square root of that number

9 years ago

Solved


multiply an array by its position number
You have given an array. Multiply an array by its position number

9 years ago

Solved


Find qube root
Find the quberoot of 27

9 years ago

Solved


Find unique number in input
Find value that occurs in odd number of input elements.

9 years ago

Solved


Pad zero between every adjacent values of the vector.
you are given a vector x. you have to make an output vector y with zeros padded between every adjacent values of x. e.g x: ...

9 years ago

Solved


Repeat the entries of the vector to their reference times in the vector.
e.g for input x: [ 7 3 9 5] output y: [ 7 3 3 9 9 9 5 5 5 5]

9 years ago

Solved


S-T-R-E-T-C-H I-T O-U-T
You will be given a row of numbers (x), and a single number (n). Your job is to write a script that will stretch out the row of...

9 years ago

Solved


what can you get for exactly amount of money
You go to store, where each product has price. Prices are in vector s= [ 195 125 260 440 395 290] and you have amount of ...

9 years ago

Load more