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...
8년 초과 전 | 답변 수: 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.
12년 초과 전 | 답변 수: 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...
12년 초과 전 | 답변 수: 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...
12년 초과 전 | 답변 수: 2 | 0
2
답변질문
impulsive noise
Hello all, Does anybody have an idea how to simulate impulsive noise class A in matlab? Thanks.
12년 초과 전 | 답변 수: 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...
12년 초과 전 | 답변 수: 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 ...
12년 초과 전 | 답변 수: 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 ...
12년 초과 전 | 답변 수: 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...
12년 초과 전 | 답변 수: 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...
12년 초과 전 | 답변 수: 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...
12년 초과 전 | 답변 수: 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 ...
12년 초과 전 | 답변 수: 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 ...
12년 초과 전 | 답변 수: 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...
12년 초과 전 | 답변 수: 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? ...
12년 초과 전 | 답변 수: 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...
12년 초과 전 | 답변 수: 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?
12년 초과 전 | 답변 수: 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년 전 | 답변 수: 2 | 0
2
답변질문
finding power 2 of an object
Hello, Is there any way to find power 2 of an object?
거의 13년 전 | 답변 수: 1 | 0
1
답변질문
general MATLAB queation
Hello, How can we change the size of an object in MATLAB?
거의 13년 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 1 | 0