統計
All
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ヶ月 前 | 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年以上 前 | 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年以上 前 | 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年弱 前 | 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年以上 前 | 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年以上 前 | 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年以上 前 | 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年以上 前 | 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年以上 前 | 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年弱 前 | 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年弱 前 | 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年 前 | 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年 前 | 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年 前 | 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年 前 | 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年 前 | 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年以上 前
解決済み
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年以上 前
解決済み
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年以上 前
質問
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年以上 前 | 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年以上 前
解決済み
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年以上 前
解決済み
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年以上 前
解決済み
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年以上 前
解決済み
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年以上 前
質問
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年以上 前 | 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年以上 前
解決済み
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年以上 前