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
Statistics
RANK
180,610
of 295,775
REPUTATION
0
CONTRIBUTIONS
39 Questions
8 Answers
ANSWER ACCEPTANCE
41.03%
VOTES RECEIVED
0
RANK
of 20,280
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 154,507
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
Question
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 ...
2 years ago | 1 answer | 0
1
answerQuestion
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 years ago | 1 answer | 0
1
answerQuestion
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 years ago | 1 answer | 0
1
answerCompose 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 years ago | 0
Question
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 years ago | 2 answers | 0
2
answersQuestion
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 years ago | 1 answer | 0
1
answerQuestion
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 years ago | 1 answer | 0
1
answerQuestion
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
9 years ago | 0 answers | 0
0
answersQuestion
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...
9 years ago | 0 answers | 0
0
answersHow 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 years ago | 0
Question
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 years ago | 1 answer | 0
1
answerQuestion
find matching values plus minus percent
Hi Is there a way to find the matching values with plus minus 5 percent?
9 years ago | 3 answers | 0
3
answersQuestion
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 years ago | 1 answer | 0
1
answerQuestion
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 years ago | 3 answers | 0
3
answersQuestion
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 years ago | 2 answers | 0
2
answersHow 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 years ago | 0
Question
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 years ago | 2 answers | 0
2
answersQuestion
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 years ago | 2 answers | 0
2
answersQuestion
Beamforming code using LMS
I'm looking for code that calculate wiegthing vector for adaptive antenna using LMS.
10 years ago | 0 answers | 0
0
answersQuestion
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 years ago | 1 answer | 0
1
answerQuestion
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 years ago | 1 answer | 0
1
answerQuestion
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 years ago | 2 answers | 0
2
answersQuestion
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 years ago | 2 answers | 0
2
answersQuestion
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 years ago | 1 answer | 0
1
answerQuestion
if condition inside another
I want to write if condition inside if condition such that if ... 'statement' elseif... 'statement' if.... ...
10 years ago | 1 answer | 0
1
answerQuestion
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 years ago | 2 answers | 0
2
answersQuestion
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 years ago | 1 answer | 0
1
answerQuestion
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 years ago | 1 answer | 0