Community Profile

# Nut

2016 年からアクティブ

All

バッジを表示

#### Content Feed

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

5年以上 前 | 1 件の回答 | 0

### 1

Remove the Zero
Given an array n, remove all zeros

5年以上 前

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

5年以上 前

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

5年以上 前

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

5年以上 前

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

5年以上 前

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

5年以上 前

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

5年以上 前

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

5年以上 前

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

5年以上 前

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

5年以上 前

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

5年以上 前

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

5年以上 前

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

5年以上 前

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

5年以上 前

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

5年以上 前 | 0 件の回答 | 0

### 0

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.

5年以上 前

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

5年以上 前 | 1 件の回答 | 1

### 1

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

5年以上 前 | 1 件の回答 | 0

### 1

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

5年以上 前 | 0

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

6年弱 前 | 0 件の回答 | 0

### 0

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

6年弱 前 | 0

| 採用済み

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

6年弱 前 | 1

| 採用済み

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

6年弱 前 | 0 件の回答 | 1

### 0

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

6年弱 前 | 0

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

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

### 1

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

### 1

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

| 採用済み

Call elements for a cell array
Hi, I think the following example could be a basic help, is it useful for you? % 3x1 cell building (example) cellar...