Community Profile

photo

Kugen Raj


Active since 2011

Hi, im just started to use Matlab. Hope you guys can help me out with my questions.
Professional Interests: Communication System

Statistics

  • Thankful Level 3

View badges

Content Feed

View by

Question


Error in dolphchebyshev array
% Function Called: planar_dolphcheby % N = 8; M = 8; RdB = 20; dx = 0.5; dy = 0.5; steer_theta = 20; s...

ongeveer 10 jaar ago | 1 answer | 0

1

answer

Question


change binary string to decimal
GGG = 0 1 0 0 0 1 0 0 0 0 0 1 0 0 0 1 0 0 0 ...

ongeveer 10 jaar ago | 1 answer | 0

1

answer

Question


error using function
% |convert binary string to decimal % |usage: dec = bin2dec( binary, M ) % |M is the decimal point placement function...

ongeveer 10 jaar ago | 2 answers | 0

2

answers

Question


Replace data inside a loop.
for N=10:10 count2=count2+1; for ii=1:last a=abs(rand(1,N)) for n =1:N count=0; fo...

ongeveer 10 jaar ago | 1 answer | 0

1

answer

Question


check and compare the result in each loop
a=abs(randn(1,100)); for n=1:10 count=0; for angle=0:360 count=count+1; Xd=(D*cos(ang...

ongeveer 10 jaar ago | 2 answers | 0

2

answers

Question


save data and use it back in the loop with condition
a=abs(randn(1,100)); for n=1:10 count=0; for angle=0:360 count=count+1; Xd=(D*cos(angle*pi/18...

ongeveer 10 jaar ago | 0 answers | 0

0

answers

Question


genetic algorithm
I need to use genetic algorithm to find the weight vector to optimize the array pattern. I need help to do this. but, i new to t...

ongeveer 10 jaar ago | 1 answer | 0

1

answer

Question


genetic algorithm
im new to the genetic algorithm. here is a sample code of a genetic algorithm for an antenna array. %This is a simple genet...

meer dan 10 jaar ago | 1 answer | 0

1

answer

Question


addition
qq = 33 48 82 91 101 138 176. i want add 1 to each of the element in qq. how can i do that?

meer dan 10 jaar ago | 1 answer | 0

1

answer

Question


for loop
if size(qq)==[1,8] ff=[(hh(1,1)+qq(1,2))]; ff1=[(hh(1,1)+qq(1,4))]; ff2=[(hh(1,1)+qq(1,6))]; ff3=[(hh(1,1)+qq(1,8...

meer dan 10 jaar ago | 1 answer | 0

1

answer

Question


array
i want to list down data r=0.1:0.5. but, im not getting the answer. briefly, i need to create an array with data that starts ...

meer dan 10 jaar ago | 2 answers | 0

2

answers

Question


find distance between random points.
i have created a random plots inside a specific radius. now i need to find distance between the random points and the origin. th...

meer dan 10 jaar ago | 1 answer | 0

1

answer

Question


error in a loop
for n =1:N for radius = 1:R % Random x & y numbers. theta = rand(1,n)*(2*pi); r = sqrt(rand(1,n))*radius; end...

meer dan 10 jaar ago | 1 answer | 0

1

answer

Question


creata random plot
i need to create a random plot inside a circle. i used the r = a + (b-a).*rand(100,1), but it is not working as i only get the ...

meer dan 10 jaar ago | 1 answer | 0

1

answer

Question


random array
i'm trying to produce a random plot with random nodes within a specified range. how can I perform this task?

meer dan 10 jaar ago | 2 answers | 0

2

answers

Question


Error using the count function.
p_all(countA,:)=kk; hh=find(kk==0); jj=kk(hh(1,1):end); q=-diff(jj); qq=find(q(1:end-1)>0 & q(2:end)<0); ff=[(...

meer dan 10 jaar ago | 0 answers | 0

0

answers

Question


sort data
i have an array of data with size of (1,361). I need to select and store all the data from (1,121) to (1,241) into anther array....

meer dan 10 jaar ago | 2 answers | 0

2

answers

Question


find for sign changes
Columns 49 through 56 0.8710 0.9483 1.0408 1.1538 1.2956 1.4796 1.7292 2.0885 Columns 57 throug...

meer dan 10 jaar ago | 4 answers | 0

4

answers

Question


rounding the floating points
Columns 1 through 8 -3.8881 -3.8854 -3.8776 -3.8645 -3.8462 -3.8228 -3.7944 -3.7610 How can I round this...

meer dan 10 jaar ago | 0 answers | 0

0

answers

Question


vector subtraction
I have a set of data stored in (kk): kk = Columns 1 through 8 0 -0.1128 -0.4684 -1.1005 -2.0583 -3.4...

meer dan 10 jaar ago | 1 answer | 1

1

answer

Question


find the desired data
i have sample data in which i want to look for a desired value. Columns 260 through 266 -12.0381 -9.8567 -7.9494 -6...

meer dan 10 jaar ago | 1 answer | 0

1

answer

Question


save data calculated in a loop
im calculating a 3db beamwidth for an array with elements ranges from (10-100). then, i will find for the -3db gain in each loop...

meer dan 10 jaar ago | 1 answer | 0

1

answer

Question


segregate data
P = Columns 1 through 12 14 15 16 17 18 19 20 21 22 23 24 25 Columns 13 throug...

meer dan 10 jaar ago | 1 answer | 0

1

answer

Question


scan elements one-by-one
lets say i have a data: p1=34 35 36 37 38 75 76 77 78 79 80. p2=42 43 44 45 46 47 82 83 84 85 86 i now have to do (75-38)...

meer dan 10 jaar ago | 3 answers | 0

3

answers

Question


How to find exact match for negative value.
Y=sum(y); YY=abs(Y); p=20*log10(YY/max(YY));%normalized power in dB. P=round(p); [c]=find(P==-3); bw=c(1,2)-c(1...

meer dan 10 jaar ago | 1 answer | 0

1

answer

Question


using find function
im having a problem to find the correct value that i desire. im trying to plot graph for beamwidth for uniform array. but, the p...

meer dan 10 jaar ago | 2 answers | 0

2

answers

Question


plot highest sidelobe level from the beampattern
Angle=0*(pi/180);%angle of interest D=500;%distance between ref. node and destination. x1=600;%ref. node value. y1=400...

meer dan 10 jaar ago | 0 answers | 0

0

answers

Question


power and 3db beamwidth
i'm trying to plot a graph for a uniform array. but, i'm not sure with the formulas to calculate the power and 3db beamwidth for...

meer dan 10 jaar ago | 0 answers | 0

0

answers

Question


beampattern calculation for linear array.
angle=0 degree. N=100 Ref. node (x1,y1)=(600,400) disatance between ref. node and destination node= 500 inter-element ...

meer dan 10 jaar ago | 2 answers | 0

2

answers

Question


with this code, im trying to display the results for (y0-y100). But im always getting the error. need help on this.thanks
for k=1:100 y(k)=y(k-1)*k; y(0)=1; end _??? Attempted to access y(0); index must be a positive integer or logical._

meer dan 10 jaar ago | 1 answer | 0

1

answer

Load more