Community Profile

# Nut

All

Ver insignias

#### Content Feed

Ver por

Pregunta

How to get the indices corresponding to the width of a peak?
Hi, I'm using the findpeaks function to find the peaks of an array. After this, I should get the indices of the array corresp...

alrededor de 5 años hace | 1 respuesta | 0

### 1

respuesta

Resuelto

Remove the Zero
Given an array n, remove all zeros

alrededor de 5 años hace

Resuelto

Is my wife right?
Regardless of input, output the string 'yes'.

alrededor de 5 años hace

Resuelto

Project Euler: Problem 6, Natural numbers, squares and sums.
The sum of the squares of the first ten natural numbers is, 1^2 + 2^2 + ... + 10^2 = 385 The square of the sum of the first ...

alrededor de 5 años hace

Resuelto

Pizza!
Given a circular pizza with radius z and thickness a, return the pizza's volume. [ z is first input argument.] Non-scored bonus...

alrededor de 5 años hace

Resuelto

Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

alrededor de 5 años hace

Resuelto

Who Has the Most Change?
You have a matrix for which each row is a person and the columns represent the number of quarters, nickels, dimes, and pennies t...

alrededor de 5 años hace

Resuelto

Given a and b, return the sum a+b in c.

alrededor de 5 años hace

Resuelto

Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...

alrededor de 5 años hace

Resuelto

Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

alrededor de 5 años hace

Resuelto

Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

alrededor de 5 años hace

Resuelto

Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Examp...

alrededor de 5 años hace

Resuelto

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

alrededor de 5 años hace

Resuelto

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

alrededor de 5 años hace

Resuelto

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

alrededor de 5 años hace

Pregunta

Approach to sounds recognition with Machine or Deep Learning techniques?
Hi, I'm working about a problem of sounds recognition: I could have ten different noises, and I need the computer can classif...

alrededor de 5 años hace | 0 respuestas | 0

### 0

respuestas

Resuelto

Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

alrededor de 5 años hace

Pregunta

How to export cell of double arrays to Excel?
Hi, I have to declare the following variable: Param = {[1,2],[3,4],[5,6],[7,8,9,10]}; and I need to export it into an...

más de 5 años hace | 1 respuesta | 1

### 1

respuesta

Pregunta

How to trim a video?
Hi, I have a color video of about 10 minutes, and it also has an audio track. I have to trim it in order to extract the centr...

más de 5 años hace | 1 respuesta | 0

### 1

respuesta

Respondida
How to save vector columnwise in Excel file
Hi, this code could be valid for you: for i=1:30 vec = randn(5,1); % Syntax: xlswrite(filename,A...

más de 5 años hace | 0

Pregunta

Registration Estimator can not register the images
Hi, I'm trying to use the Registration Estimator of the Computer Vision System Toolbox to register two images, named fixed an...

más de 5 años hace | 0 respuestas | 0

### 0

respuestas

Respondida
Using impixel with an image sequence
Hi, I'm not expert with |implay| function and its working, but "point and click" makes me think to the |ginput| function: ...

más de 5 años hace | 0

Respondida
Montage of two Images
Hi, if you need only to display the two images side by side you can use |subplot|. Instead, if you need to join the two im...

más de 5 años hace | 1

Pregunta

How is Threshold parameter calculated and expressed in Unsharp Mask?
Hi, I'm trying to understand the |imsharpen| function: https://it.mathworks.com/help/images/ref/imsharpen.html I would ...

casi 6 años hace | 0 respuestas | 1

### 0

respuestas

Respondida
Im using a code to calculate when a satellite re-enters the atmosphere. I need the code to stop running after the satellites altitude goes below 100km. Is there a function i can use to do this?
Maybe the _return_ function: https://it.mathworks.com/help/matlab/ref/return.html if altitude < 100 return end

casi 6 años hace | 0

Respondida
How can I create a matrix from the values of a For loop?
Hi, I'm not sure, but I think you can try this (I refer to the first version of code that you wrote): matrix = []; fo...

casi 6 años hace | 0

Pregunta

How to change the color of the markers when plot features over an image?
Hi, as in the subject, is it possible to change the color of the markers when you plot features over an image? Example: if...

casi 6 años hace | 1 respuesta | 0

### 1

respuesta

Pregunta

How to use the Computer Vision System Toolbox OpenCV Interface?
Hi, I've download the OpenCV 3.1.0 and correctly installed the Computer Vision System Toolbox OpenCV Interface. I followed th...

casi 6 años hace | 1 respuesta | 0

### 1

respuesta

Respondida
How to use str2double without rounding
Hi, maybe you need a proper set of the output display format: https://it.mathworks.com/help/matlab/ref/format.html The ...

alrededor de 6 años hace | 0