Feeds
提问
multiplying a 1xn vector to each element of a 1xm vector to create a 1xmn vector
Hello all, I have a 1xn vector, say d=[ 1 -1 -1 1] and would like to multiply it by each element of a 1xm vector say v=[-1+ 1i...
9 years 前 | 1 个回答 | 0
1
个回答提问
computing SNR in matlab
Hello all, I have a noisy sinisoid signal and would like to compute its SNR in MATLAB. Can anybody help me? Thanks.
13 years 前 | 1 个回答 | 0
1
个回答提问
sampling
I have a composition of 4 sinusoidal tones and would like to sample it at 50kHz. Here is my code:{t1=cos(2*pi*(0:.1:6)); t2=co...
13 years 前 | 1 个回答 | 0
1
个回答提问
Matlab figure
Hello All, I have a matlab figure consists of two plots in one graph. I would like to split them into two graphs using subplo...
13 years 前 | 2 个回答 | 0
2
个回答提问
impulsive noise
Hello all, Does anybody have an idea how to simulate impulsive noise class A in matlab? Thanks.
13 years 前 | 0 个回答 | 0
0
个回答提问
converting a group of .fig files into .pdf
Hello all, I have about 30 .fig files and would like to convert them into .pdf in one go. Is there an easy way to do it? Than...
13 years 前 | 1 个回答 | 0
1
个回答提问
surface plot
Hello all, I have the following code: a = 0:.1:1; b = 0:.01:.1; for k = 1:length(a) c = a(k) + b(k); end I would ...
13 years 前 | 3 个回答 | 0
3
个回答提问
having one "for" loop instead of two
Hello all, I have two "for" loops. for a=0:10 for b=0:10 c=a+b; end end I would like two combine them and put them ...
13 years 前 | 5 个回答 | 0
5
个回答提问
using surfl
Hello all, I need to plot two graphs using "surfl" in my code. I use the following commands: figure() surfl (a,b,c) f...
13 years 前 | 1 个回答 | 0
1
个回答提问
exiting a loop
Hello all, I have a while loop in which while abs(a-b)>=delta rest of code end Sometimes the condition of this w...
13 years 前 | 1 个回答 | 0
1
个回答提问
mean
I have a 76x5 matrix and would like to convert this to a 76x1 matrix whose rows are the mean of each of the rows of the original...
13 years 前 | 2 个回答 | 0
2
个回答提问
legend
I have a matrix m which varies with vectors a and b. I've plotted m versus a for different values of b, but I don't know how to ...
13 years 前 | 1 个回答 | 0
1
个回答提问
playing an under-sampled .wav music in matlab
Hello all, I've undersampled a .wav music and would like to play it in Matlab to hear the effect of aliasing. Can you please ...
13 years 前 | 1 个回答 | 0
1
个回答提问
downsampling a music in matlab
Hello all, I have a .wav type music and would like to undersample it at 4kHz to view the aliasing effect. Can somebody help m...
13 years 前 | 1 个回答 | 0
1
个回答提问
viewing spectrum of an audio signal in matlab
Hello all, I have an audio signal (.wav) and would like to view its spectrum in matlab. Can anybody help me in this manner? ...
13 years 前 | 2 个回答 | 1
2
个回答提问
rayleighhchan object
Hello all, I'm working with h=rayleighchan() object. Can anybody tell me how I can create a matrix of h with specific size? i...
13 years 前 | 1 个回答 | 0
1
个回答提问
A basic matlab problem
Hello all, If I want to create a matrix of for example 9.5 with a specific size i.e. [9.5 9.5 .... 9.5], what should I do?
13 years 前 | 5 个回答 | 0
5
个回答提问
Finding diag of two cells
Hello, I have two cells(a and b) each with size 1x4 and each of them contains 2x1 matrix in each of its columns. I would like t...
13 years 前 | 2 个回答 | 0
2
个回答提问
finding power 2 of an object
Hello, Is there any way to find power 2 of an object?
13 years 前 | 1 个回答 | 0
1
个回答提问
general MATLAB queation
Hello, How can we change the size of an object in MATLAB?
13 years 前 | 1 个回答 | 0
1
个回答提问
solving two equations with 4 unknowns
Hello all, Can you please tell me how can I solve 4 equations with 2 unknowns in MATLAB?
13 years 前 | 3 个回答 | 0
3
个回答提问
using rayleighchan
Hello, I'm trying to write a code that computes the optimal TX/RX response for a Rayleigh channel using rayleighchan() in MAT...
13 years 前 | 1 个回答 | 0
1
个回答提问
simple question in matlab
Hello all, I have the following for loop: for n = 3:32 r(n) = rank(magic(n)); end r Shouldn't this loop start from n=3...
13 years 前 | 1 个回答 | 0
1
个回答提问
Gaussian mixture model
[EDIT: 20110610 10:31 CDT - reformat - WDR] Hello, I have two sets of training data each with size 800x3. I'd like to fit them...
13 years 前 | 1 个回答 | 0
1
个回答提问
svmtrain
Hello all, I have two sets of data each of size 3x400. I would like to train them using svmtrain but I don't know what I shou...
13 years 前 | 1 个回答 | 0
1
个回答提问
kmeans() in MATLAB
Hello, I have 10 classes and would like to use kmeans command in MATLAB to find the centroid and indices for the 10 classes. wh...
13 years 前 | 2 个回答 | 0
2
个回答提问
k nearest neighbor
Hi, I have 3 500x2 training data and 3 500x2 testing data. i would like to apply k nearest neighbor method to find classificati...
13 years 前 | 1 个回答 | 0
1
个回答提问
extracting non-zero elements in a matrix or an array
Hello, I have two questions. I would be so glad if you can please help me. 1. How can I extract the number of non-zero eleme...
13 years 前 | 1 个回答 | 0
1
个回答提问
saving matrix elements into array
Hi, I have 9 matrices with size 500x2. I would like to save them into a 3x3 array; i.e. my first 500x2 matrix be the first elem...
13 years 前 | 1 个回答 | 0
1
个回答提问
using contour()
I have a distribution with a 1x2 mean vector and a 2x2 covariance matrix. I would like to display the distribution using contour...
13 years 前 | 1 个回答 | 0