MATLAB Answers

## Warning: Function svd has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict. >>

Asked by GS Sahu

### GS Sahu (view profile)

on 14 Jun 2018
Latest activity Commented on by Walter Roberson

### Walter Roberson (view profile)

on 14 Jun 2018
clc
clear all
close all
clc
clear all
close all
B1=10.*10^6; % BW of a channel
N0=10.^(-20.4); % Noise (AWGN)
lambda2=3*10^8/(10*10^6); %wavelength
Pm=10.^((46-30)/10); % Macro BS transmitting p0wer
pf=10.^((20-30)/10); % Femto BS Transmitting Power
%---------
lambda1 = 15;
sizeW = 1;
rng (1)
noEvents1 = poissrnd(lambda1*sizeW);
C = rand(noEvents1,2);
hold on
axis([0 1 0 1]);
plot(C(:,1),C(:,2),'b*') % Femto BSs
hold on
grid on
for j=1: length(C)
A=0.2.*rand(1,2)+(C(j,1)-0.1);%FUE(X co-ordinate)
NC1(j,:)=A;
B=0.2.*rand(1,2)+(C(j,2)-0.1);%FUE (Y co-ordinate)
NC2(j,:)=B;
plot(A,B,'g*')
end

#### 0 Comments

Sign in to comment.

## 1 Answer

### Walter Roberson (view profile)

Answer by Walter Roberson

### Walter Roberson (view profile)

on 14 Jun 2018

At the MATLAB command prompt command
which -all svd
You will find one that is not supplied by Mathworks. You should rename it to avoid potential problems.
It might be part of a third-party toolbox or File Exchange contribution.

#### 2 Comments

Stephen Cobeldick

### Stephen Cobeldick (view profile)

on 14 Jun 2018
According to the which documentation it supports this syntax:
which svd -all
Walter Roberson

### Walter Roberson (view profile)

on 14 Jun 2018
True, but you will find that which -all svd works.

Sign in to comment.