Gelöst


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

fast 10 Jahre vor

Gelöst


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...

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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...

fast 10 Jahre vor

Gelöst


Transpose of matrix
Transpose of matrix as per test cases

fast 10 Jahre vor

Gelöst


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...

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Beantwortet
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...

fast 10 Jahre vor | 0

| akzeptiert

Beantwortet
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 ...

fast 10 Jahre vor | 1

| akzeptiert

Gelöst


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 = ...

fast 10 Jahre vor

Gelöst


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...

fast 10 Jahre vor

Gelöst


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...

fast 10 Jahre vor

Beantwortet
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...

fast 10 Jahre vor | 0

Gesendet


cubeint
Cube intersection volume.

fast 10 Jahre vor | 65 Downloads |

5.0 / 5

Beantwortet
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...

fast 10 Jahre vor | 0

Beantwortet
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...

fast 10 Jahre vor | 0

Gelöst


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

fast 10 Jahre vor

Gelöst


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 ...

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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...

fast 10 Jahre vor

Gelöst


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...

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


Find qube root
Find the quberoot of 27

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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: ...

fast 10 Jahre vor

Gelöst


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]

fast 10 Jahre vor

Gelöst


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...

fast 10 Jahre vor

Gelöst


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 ...

fast 10 Jahre vor

Mehr laden