Feeds
提问
How do I include errorbar on my F1 score plot
I want to include the errorbar on my F1 score plot. I don't know how to go about it. Here is my code below % Given data p = [3...
12 months 前 | 1 个回答 | 0
1
个回答提问
Function for visualisation of raw data -Ovarian cancer
I want to a 'plot' function to effectively visualise the ovarian cancer data inbuilt in MATLAB. load ("OvanrianCancer.mat") T...
1 year 前 | 1 个回答 | 0
1
个回答提问
Legend showing same symbol for loop plot
My legend is showing the same symbol for different data. My code is as follows for i=1:size(obs,1) x = V(:,1)'*obs(i,:)'; ...
1 year 前 | 1 个回答 | 0
1
个回答提问
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...
2 years 前 | 2 个回答 | 0
2
个回答提问
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-...
2 years 前 | 1 个回答 | 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...
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...
2 years 前 | 0
| 已接受
提问
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...
2 years 前 | 4 个回答 | 0
4
个回答提问
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...
2 years 前 | 2 个回答 | 0
2
个回答提问
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...
2 years 前 | 1 个回答 | 0
1
个回答提问
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...
3 years 前 | 1 个回答 | 0
1
个回答提问
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. ...
3 years 前 | 2 个回答 | 0
2
个回答提问
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...
3 years 前 | 1 个回答 | 0
1
个回答提问
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...
3 years 前 | 3 个回答 | 0
3
个回答提问
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...
3 years 前 | 1 个回答 | 0
1
个回答已回答
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...
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...
3 years 前 | 0
提问
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
3 years 前 | 1 个回答 | 0
1
个回答已解决
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,...
3 years 前
已解决
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...
3 years 前
已解决
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]; ...
3 years 前
提问
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...
3 years 前 | 2 个回答 | 0
2
个回答已解决
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...
3 years 前
已解决
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]
3 years 前
已解决
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.
3 years 前
已解决
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 ...
3 years 前
已解决
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...
3 years 前
提问
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...
3 years 前 | 1 个回答 | 0
1
个回答已解决
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...
3 years 前
已解决
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...
3 years 前