Community Profile

# Cutie

Last seen: 3 months ago Active since 2020

All

#### Content Feed

View by

Question

How to compare the complexity of two algirthms in MATLAB
I have to Algortihms for my simulations. Both are working but I need to compare the complexity/effiency of the two algorithm...s...

5 months ago | 2 answers | 0

### 2

Question

2-for loop iteration to output a matrix
I want to use for-loop for my entire code for simulation. Specifically, i want to output results of each iteration with 2 for-...

1 year ago | 1 answer | 0

### 1

if-else statement for 4 comparison
Thank you @Cris LaPierre @DGM @David Hill for your help. I have been able to navigate it A= [0;1;0;1;1;0;1;0;0;1]; B= [0;1;1;0...

1 year ago | 0

| accepted

Question

if-else statement for 4 comparison
I want to use if-else & for-loop to make comparison where outputs can be one of four options- TP,TN,FP,FN Supposed I have two r...

1 year ago | 4 answers | 0

### 4

Question

For loop to create a matrix array
I have a data X say X= 1:100 (integer 1 to 100) I want to write a for loop that will create matrix of w=10x5 (10rows, 5 colum...

1 year ago | 2 answers | 0

### 2

Question

How do I normalise a Matrix that is close to Singular or badly scale
I have an extracted features to be used for HMM training. However, I am having an error Warning: Matrix is close to singular o...

1 year ago | 1 answer | 0

### 1

Question

3D Plot of a Matrix with only Char data type
I have a matrix which with Char data type i.e All data are in text format. My goal is to make an x-y-z plot that will rep thes...

1 year ago | 1 answer | 0

### 1

Question

How do a cell2mat conversion for a non-uniform cell to a matrix
I have a 1 x 10 cell with Non-uniform data in each cell array. How do a cell2mat conversion without losing any of the element. ...

1 year ago | 2 answers | 0

### 2

Question

Neglecting difference between two values if it is very small so that value1= value2
I am working on a dataset. After some eigendecompostion process. I realise the difference between my values are as small as 1.8...

1 year ago | 1 answer | 0

### 1

Question

How can i reshape a matrix to my preferred dimension and discard the excess element
I have a signal whose size is 48640 but I want to reshape it using window size 512,1024,..etc but the [signal,Fs] = audiorea...

1 year ago | 3 answers | 0

### 3

Question

Ploting a spectrogrma view from sample points in an audio signal
I extracted some samples from an audio signal. I am to plot and have the output in a spectrogram format without using the spect...

2 years ago | 0 answers | 0

### 0

How does `svd(A*A')` reduce the computational cost?
SVD reduces computational costs because it provides a numerically stable matrix decomposition. You may refer to https://www.yout...

2 years ago | 0

Question

How do I FFT a portion of an audio signal using window size 8000.
I want to carryout FFT on an audio signal using 8000 window size. The default sampling frequency of my signal is 96000Hz

2 years ago | 1 answer | 0

### 1

Solved

Check if number exists in vector
Return 1 if number _a_ exists in vector _b_ otherwise return 0. a = 3; b = [1,2,4]; Returns 0. a = 3; b = [1,...

2 years ago

Solved

Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

2 years ago

Solved

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

2 years ago

Question

How do I remove any Column in a matrix
Please what is wrong with this function. I want it to remove 'n' column form the matrix A function B = column_removal(A,n) A...

2 years ago | 2 answers | 0

### 2

Solved

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

2 years ago

Solved

Reverse the vector
Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]

2 years ago

Solved

Return area of square
Side of square=input=a Area=output=b

2 years ago

Solved

Maximum value in a matrix
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.

2 years ago

Solved

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

2 years ago

Solved

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

2 years ago

Solved

Find the Oldest Person in a Room
Given two input vectors: * |name| - user last names * |age| - corresponding age of the person Return the name of the ol...

2 years ago

Question

Outputing a correspond element of another variable
I want my final output to be the element A that is equivalent to B(max) A = ["Bayo" "Tun" "s"] B = [21, 45, 11] example...

2 years ago | 1 answer | 0

### 1

Solved

Convert from Fahrenheit to Celsius
Given an input vector |F| containing temperature values in Fahrenheit, return an output vector |C| that contains the values in C...

2 years ago

Solved

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

2 years ago

Solved

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

2 years ago