photo

Kugen Raj


Attivo dal 2011

Followers: 0   Following: 0

Messaggio

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

Statistica

  • Thankful Level 3

Visualizza badge

Feeds

Visto da

Domanda


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

oltre 12 anni fa | 1 risposta | 0

1

risposta

Domanda


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 ...

oltre 12 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 12 anni fa | 2 risposte | 0

2

risposte

Domanda


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...

oltre 12 anni fa | 1 risposta | 0

1

risposta

Domanda


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...

oltre 12 anni fa | 2 risposte | 0

2

risposte

Domanda


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...

oltre 12 anni fa | 0 risposte | 0

0

risposte

Domanda


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...

oltre 12 anni fa | 1 risposta | 0

1

risposta

Domanda


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...

oltre 12 anni fa | 1 risposta | 0

1

risposta

Domanda


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?

oltre 12 anni fa | 1 risposta | 0

1

risposta

Domanda


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...

oltre 12 anni fa | 1 risposta | 0

1

risposta

Domanda


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 ...

oltre 12 anni fa | 2 risposte | 0

2

risposte

Domanda


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...

oltre 12 anni fa | 1 risposta | 0

1

risposta

Domanda


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...

oltre 12 anni fa | 1 risposta | 0

1

risposta

Domanda


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 ...

oltre 12 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 12 anni fa | 2 risposte | 0

2

risposte

Domanda


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=[(...

oltre 12 anni fa | 0 risposte | 0

0

risposte

Domanda


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....

oltre 12 anni fa | 2 risposte | 0

2

risposte

Domanda


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...

oltre 12 anni fa | 4 risposte | 0

4

risposte

Domanda


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...

oltre 12 anni fa | 0 risposte | 0

0

risposte

Domanda


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...

oltre 12 anni fa | 1 risposta | 1

1

risposta

Domanda


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...

oltre 12 anni fa | 1 risposta | 0

1

risposta

Domanda


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...

oltre 12 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 12 anni fa | 1 risposta | 0

1

risposta

Domanda


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)...

oltre 12 anni fa | 5 risposte | 0

5

risposte

Domanda


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...

oltre 12 anni fa | 1 risposta | 0

1

risposta

Domanda


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...

quasi 13 anni fa | 2 risposte | 0

2

risposte

Domanda


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...

quasi 13 anni fa | 0 risposte | 0

0

risposte

Domanda


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...

quasi 13 anni fa | 0 risposte | 0

0

risposte

Domanda


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 ...

quasi 13 anni fa | 2 risposte | 0

2

risposte

Domanda


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._

quasi 13 anni fa | 1 risposta | 0

1

risposta

Carica altro