Community Profile

photo

Oliver Lestrange


Last seen: 3 years ago Active since 2020

Statistics

  • Thankful Level 3

View badges

Content Feed

View by

Question


How to solve this system equation?
Hi, I am trying to solve the following system. I've tried with some functions but vpasolve is the only I found out that doesn't...

3 years ago | 0 answers | 0

0

answers

Question


How to remove everything that is grey (127, 127, 127) from an image?
Hi, I want to remove everything with the rgb color (127, 127, 127) from an image. I am using externalMask = planta.img(:,:,1)=...

3 years ago | 1 answer | 0

1

answer

Question


How to make this loop faster?
Hello, The following code takes 30 seconds to execute. I can't make it any faster. Any suggestion? Thanks! function [ at] ...

3 years ago | 1 answer | 0

1

answer

Question


Putting a step in x axis
Hi, I'm trying to put the x axis with a step of 50 nm, but the output is 0 to 350 nm instead of 0 to 3600 nm. subplot(2,1,2); ...

3 years ago | 1 answer | 0

1

answer

Question


Error with an empty array - Subscript indices must either be real positive integers or logicals
Hi, I'm getting an error show bellow. The reason it's because altura_raio_direto is getting an empty array. As you can see, hei...

3 years ago | 1 answer | 0

1

answer

Question


Undefined function or variable 'fabs'
Hi, I'm getting this error: "Undefined function or variable 'fabs'." The code is: for z=1:length(altura_raio_direto) ...

3 years ago | 1 answer | 0

1

answer

Question


How to make a for faster?
Hi, I've the following code. ix = ismember(idx_x(:),x(:)); iy = ismember(idx_y(:),y(:)); minimum = min(ix,iy); for idx_=1:...

3 years ago | 2 answers | 0

2

answers

Question


Save coordinates in an array
Hi, I am itereting two loops, in order to form coordinates. I am trying to save them with this line, because I want to keep i...

3 years ago | 1 answer | 0

1

answer

Question


Random variable with log-normal distribution
Hi, I need to calculate a random variable with log-normal distribution with zero mean and standard deviation of 4 dB. How can ...

3 years ago | 1 answer | 0

1

answer

Question


How to wait for a button to be pressed?
Hi, I have the following code: % --- Executes on button press in insertAntenna. function insertAntenna_Callback(hObject, even...

3 years ago | 2 answers | 0

2

answers

Question


Error using normcdf function
Hi, I am trying to make a CDF. I am using the array eixoXX. % --- Executes on button press in densityButton. function densi...

3 years ago | 1 answer | 0

1

answer

Question


How PDF and CDF work?
Hi, I need to make a pdf and cdf. I saw the documentation but I didn't understand how exactly can I used it. I have power va...

3 years ago | 0 answers | 0

0

answers

Question


Why bar function is so slow?
Hi, I am using the following code. function densityButton_Callback(hObject, eventdata, handles) % hObject handle to densit...

3 years ago | 0 answers | 0

0

answers

Question


How to make a Manhattan Grid?
Hi, I need to make a Manhattan Grid. The mandist fucntion can do this? I am using matlab version R2016a. Important notic...

3 years ago | 0 answers | 0

0

answers

Question


How to make a matrix has more pixels?
Hi, Apparently when I use the following code I am creating a matrix with 15x15 pixels. dmin1=2; n=15; manhattan=ones(n,n,3)...

3 years ago | 1 answer | 0

1

answer

Question


What does mean .* and ' ?
Hi, It seems that in MATLAB exists the notation .* that seems to be an operation and the notation ' that is used apparently wit...

3 years ago | 3 answers | 1

3

answers

Question


GUIDE Handle not updating
Hi, I am using the following code. function antennaId_Callback(hObject, eventdata, handles) % hObject handle to antennaId ...

3 years ago | 2 answers | 0

2

answers

Question


Add transparency to colormap
Hi, How can I add transparency to a colormap 2D? I have the following code and I am using the version R2016a of MATLAB. funct...

3 years ago | 1 answer | 0

1

answer

Question


Transforming a matrix in an image
Hi community, I am transforming a matrix in an image, but when I try to see the green and blue components of the image a get th...

3 years ago | 1 answer | 0

1

answer

Question


How can I tri sectorized an antenna?
Hi, I need to make a radio planning tool in MATLAB. In other words, I need to put antennas, see them coverage, etc. How can I ...

3 years ago | 0 answers | 0

0

answers

Question


Trying to save the red positions of an image
Hi, I'm trying to save all the position's of an image with red color. im = imread('image.png'); locations = find(im(:,:,1) ==...

3 years ago | 2 answers | 0

2

answers

Question


Error in matrix to image
Hi community, I've created a matrix with structures. This structures are antennas. %Vertical ant.elevation = Vertical.Elevati...

3 years ago | 0 answers | 0

0

answers

Question


How to associate a rectangle with a struct?
Hi there Community, I have the folllowing image and the antenna: [Horizontal,Vertical,Optional] = msiread(strcat(pathName,file...

3 years ago | 1 answer | 0

1

answer

Question


Error with Measure Distances in an Image
Hi! I was using the code presenting in this documentation https://www.mathworks.com/help/images/measure-distances-in-images.htm...

3 years ago | 1 answer | 0

1

answer

Question


How to make a matrix of zeros and ones with a specific distance between each one?
Hi! I need to make a matrix of zeros and ones with a specific distance between each one. This distance is an input value, which...

3 years ago | 1 answer | 0

1

answer

Question


How to make a grid with an angle of 60 degrees and a variable distance between axis?
I need to make a grid in a image with an angle of 60 degrees and a distance between axis that can be changed. Any suggestion...

3 years ago | 0 answers | 0

0

answers