yousef Yousef
Hi I have m by n matrix,I want to find the index of the max. of each column.It can be found by [i j]:max(x,[],2).this gives the index of max of each column in vector i.I want if there is a repetion in vector i to be reset to 0.thanks
Feeds
質問
Using Wavelet Toolbox to measure the occupied bandwidth of a non stationary signal
Hi Is it possible to use the Wavelet Toolbox to measure the occupied bandwidth ( corresponds to 0.99% of signal power ) of a ...
1年以上 前 | 1 件の回答 | 0
1
回答質問
How to use the slice command to visualize one image into two intersecting planes?
Hi, I need to visualize one image in two intersecting planes. The attached picture shows an example of what I want to do. Howeve...
2年弱 前 | 1 件の回答 | 0
1
回答質問
How to visualize two images in two intersecting planes?
Hi, I have two images. I need to visualize these images in a way each image will be on a different plane. I'm wondering if this ...
2年弱 前 | 1 件の回答 | 0
1
回答Compose two vectors from one vector with step
S = 1:64; xx = reshape(x, 4, 16); xxx=xx(:,1:2:end) xxxx=xx(:,2:2:end-1) S_1=xxx(:)' S_2=xxxx(:)' This answer does what ...
2年弱 前 | 0
質問
Compose two vectors from one vector with step
Hi, I have vector S=[1:64]. I want to compose two vectors: S_1=[ 1 2 3 4 9 10 11 12 17 18 19 20 ....], step of M=4 S_2=[...
2年弱 前 | 2 件の回答 | 0
2
回答質問
How to generate binary vector ?
How to generate a vector of unique ( deterministic not random ) sequence of bits ?. I want a binary vector to use in many differ...
5年以上 前 | 1 件の回答 | 0
1
回答質問
compare two vectors plot
Hi,I have 2 vectors of length 1024, I want to take 100 samples equally spaced from each to make a comparison plot?
8年以上 前 | 1 件の回答 | 0
1
回答質問
How to finds indecies of 0.707 points on the curve
<</matlabcentral/answers/uploaded_files/46693/matq.png>> Hi, I would like to find the indecies of 0.707 points on the curve
8年以上 前 | 0 件の回答 | 0
0
回答質問
How can I compare set of figures?
Hi I have program that produces 16 figures at each run.I'd like to ask, what is the best way to save these figures in order com...
8年以上 前 | 0 件の回答 | 0
0
回答How to find the indices of a point on a curve
clear all clc Angle=[5 10 20 60 180 190 195 300 305]; collision=[]; for i=1:length(Angle)-1 d=[]; targetValue = Angle(i); ...
約9年 前 | 0
質問
Comparing vector elements by percentage
Angle=[5 10 20 60 180 190 195 300 310], these angles determine the possible directions of robots. If there are 2 robots startin...
約9年 前 | 1 件の回答 | 0
1
回答質問
find matching values plus minus percent
Hi Is there a way to find the matching values with plus minus 5 percent?
約9年 前 | 3 件の回答 | 0
3
回答質問
Write mathematical symbols on my curve
Hi,I need to write mathematical symbols on my curve,I prefer to write immediately on the graph without using any commands in ...
約9年 前 | 1 件の回答 | 0
1
回答質問
How to find the indices of a point on a curve
<</matlabcentral/answers/uploaded_files/39274/matq.png>> Hi I have a curve with one maximum,I need to find the indices of th...
約9年 前 | 3 件の回答 | 0
3
回答質問
Is there a way to combine multiple figures of different runs of m file?
I have m file,in each run I get 4 figures,I'm looking for combining the figure 1 from the first run with the first figure from t...
9年以上 前 | 2 件の回答 | 0
2
回答How to find the x and y coordinates of the maximum value in curve without defferntiaition
* z=abs(P); * zz=round(z); * ymax=max(zz); * xmax=THETA(find (zz==ymax)); * However ,if somebody has better solution,I k...
9年以上 前 | 0
質問
How to find the x and y coordinates of the maximum value in curve without defferntiaition
Hi I have a curve,I want to find x and y coordinate of the maximum value Thanks
9年以上 前 | 2 件の回答 | 0
2
回答質問
adaptive antennas LMS algorithm
I'm looking for Matlab codes for LMS and RLS Algorithms in Smart Antenna Technology if you have any ,please post it to me. Tha...
10年以上 前 | 2 件の回答 | 0
2
回答質問
Beamforming code using LMS
I'm looking for code that calculate wiegthing vector for adaptive antenna using LMS.
10年以上 前 | 0 件の回答 | 0
0
回答質問
polar plot Beamforming vector
Hi,I have a weighting vector already generated but I want to learn how to draw the radiation pattern using Matlab.
10年以上 前 | 1 件の回答 | 0
1
回答質問
find the repetition of matrix rows
I want to find out if the row i of mxn matrix is repeated ,the code should give logic 1.Otherwise zero"there are many ways but I...
10年以上 前 | 1 件の回答 | 0
1
回答質問
find the repetition of matrix rows
I want to find out if the row i of mxn matrix is repeated ,the code should give logic 1.Otherwise zero"there are many ways but I...
10年以上 前 | 2 件の回答 | 0
2
回答質問
I want to skip one step
Hi I have a matrix,I want the code to skip executing statements if the row is repeated. Thanks
10年以上 前 | 2 件の回答 | 0
2
回答質問
matrix sorting and distibution
I have this matrix: 2 2 82 10 16 15 66 76 71 83 44 49 4 2 91 28 98 ...
10年以上 前 | 1 件の回答 | 0
1
回答質問
if condition inside another
I want to write if condition inside if condition such that if ... 'statement' elseif... 'statement' if.... ...
10年以上 前 | 1 件の回答 | 0
1
回答質問
What is the best way to execute 2 if conditions in MATLAB
assume w=[1 2 2 2] q=[2 1 1 1] if w(i)==1 do somehing else look to q(i) if q(i)==1 do some thing...
10年以上 前 | 2 件の回答 | 0
2
回答質問
put the result in one matrix
Hi,I have ,w=[2 4 4 1 1]. for i=1:length(w) x=find(w==w(i)) end this code gives this result:x=[1]',x=[2 3]',x=...
10年以上 前 | 1 件の回答 | 0
1
回答質問
How can I count the frequency of each element of one vector?
Hi,I have this code which gives the number of occurrences of each element of w vector in vector y a= [7 4 9 ...
10年以上 前 | 1 件の回答 | 0