Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


Transpose of matrix
Transpose of matrix as per test cases

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

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

casi 10 años hace | 0

| aceptada

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

casi 10 años hace | 1

| aceptada

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

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

casi 10 años hace | 0

Enviada


cubeint
Cube intersection volume.

casi 10 años hace | 1 descarga |

5.0 / 5

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

casi 10 años hace | 0

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

casi 10 años hace | 0

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


Find qube root
Find the quberoot of 27

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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]

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Cargar más