Community Profile

photo

Nut


Attivo dal 2016

Statistiche

All
  • First Review
  • Solver
  • Thankful Level 3
  • Revival Level 1
  • Knowledgeable Level 2
  • First Answer

Visualizza badge

Content Feed

Visto da

Domanda


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

oltre 6 anni fa | 1 risposta | 0

1

risposta

Risolto


Remove the Zero
Given an array n, remove all zeros

oltre 6 anni fa

Risolto


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

oltre 6 anni fa

Risolto


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

oltre 6 anni fa

Risolto


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

oltre 6 anni fa

Risolto


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

oltre 6 anni fa

Risolto


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

oltre 6 anni fa

Risolto


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

oltre 6 anni fa

Risolto


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

oltre 6 anni fa

Risolto


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

oltre 6 anni fa

Risolto


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

oltre 6 anni fa

Risolto


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

oltre 6 anni fa

Risolto


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

oltre 6 anni fa

Risolto


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

oltre 6 anni fa

Risolto


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

oltre 6 anni fa

Domanda


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

oltre 6 anni fa | 0 risposte | 0

0

risposte

Risolto


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.

oltre 6 anni fa

Domanda


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

oltre 6 anni fa | 1 risposta | 1

1

risposta

Domanda


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

quasi 7 anni fa | 1 risposta | 0

1

risposta

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

quasi 7 anni fa | 0

Domanda


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

quasi 7 anni fa | 0 risposte | 0

0

risposte

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

quasi 7 anni fa | 0

| accettato

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

quasi 7 anni fa | 1

| accettato

Domanda


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

circa 7 anni fa | 0 risposte | 1

0

risposte

Risposto
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

circa 7 anni fa | 0

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

circa 7 anni fa | 0

Domanda


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

circa 7 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 7 anni fa | 1 risposta | 0

1

risposta

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

circa 7 anni fa | 0

| accettato

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

circa 7 anni fa | 0

Carica altro