Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Matlab Mapping toolbox

Subject: Matlab Mapping toolbox

From: Karthik

Date: 16 Dec, 2013 05:45:06

Message: 1 of 3

Hello,
       I want to use los2 function in order to get visibility regions of an urban environment.I have modelled my own urban environment and imported it into Simulink.Will I be able to use los2 function for my own model?If yes,how do I get the lat and lon values for two points in my model?Basically how do I make use of the function?

Thanks
Karthik

Subject: Matlab Mapping toolbox

From: Steven Lord

Date: 16 Dec, 2013 14:55:44

Message: 2 of 3


"Karthik " <brainymaestro@gmail.com> wrote in message
news:l8m411$otk$1@newscl01ah.mathworks.com...
> Hello,
> I want to use los2 function in order to get visibility regions of an
> urban environment.I have modelled my own urban environment and imported it
> into Simulink.Will I be able to use los2 function for my own model?

I don't know if LOS2 is supported for use in a Simulink model or for code
generation. If you were going to use this in a MATLAB program I would say
that as long as you generate the input arguments that LOS2 requires from
your data then yes.

> If yes,how do I get the lat and lon values for two points in my
> model?Basically how do I make use of the function?

You may find this useful:

http://www.mathworks.com/help/map/determining-and-visualizing-visibility-across-terrain.html

--
Steve Lord
slord@mathworks.com
To contact Technical Support use the Contact Us link on
http://www.mathworks.com

Subject: Matlab Mapping toolbox

From: Aslak Grinsted

Date: 3 Feb, 2014 10:58:08

Message: 3 of 3

"Karthik " <brainymaestro@gmail.com> wrote in message <l8m411$otk$1@newscl01ah.mathworks.com>...
> Hello,
> I want to use los2 function in order to get visibility regions of an urban environment.I have modelled my own urban environment and imported it into Simulink.Will I be able to use los2 function for my own model?If yes,how do I get the lat and lon values for two points in my model?Basically how do I make use of the function?
>
> Thanks
> Karthik

If your urban environment can be approximated with a digital elevation model (i.e. a grid of elevations) then you might be able to use my new function here:
http://www.mathworks.com/matlabcentral/fileexchange/45097-voxel-viewshed

I made it for landscapes but it might be useful for you.

Best
Aslak

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us