This is from the matalb documentation of reconfigurable intelligent surfaces. helperRISSurface is function or a structure ? how can i pass parameters?
i tried to rum this and i am getting error here. i have uploaded the screenshots
kindly help me
thank you.
=========================================================================
ris = helperRISSurface('Size',[Nr Nc],'ElementSpacing',[dr dc],...
'ReflectorElement',phased.IsotropicAntennaElement,'OperatingFrequency',fc)
ris =
helperRISSurface with properties:
ReflectorElement: [1x1 phased.IsotropicAntennaElement]
Size: [10 20]
ElementSpacing: [0.0054 0.0054]
OperatingFrequency: 2.8000e+10
=====================================================================

 Akzeptierte Antwort

Cris LaPierre
Cris LaPierre am 12 Feb. 2024

2 Stimmen

It is a helper function that is included with this example. On the upper right corner of the example page, use the 'Open in MATLAB Online' or copy and run the 'Copy Command' in your MATLAB Command window to download the example and supporting files to your MATLAB Instance.

16 Kommentare

Walter Roberson
Walter Roberson am 12 Feb. 2024
Note that if you are running a version earlier than R2023b then the example does not exist.
Salem Almezoge
Salem Almezoge am 24 Feb. 2024
can you help me to get the folders
I don't know how
If you are running R2023a or earlier, the example does not exist.
If you are running R2023b or later, then
openExample('phased/IntroductionToRISExample')
should work. There is, however, the possibility that you need to install documentational locally; see https://www.mathworks.com/help/install/ug/install-documentation-using-internet-connection.html
Cris LaPierre
Cris LaPierre am 25 Feb. 2024
If you install the documentation locally, you can only access examples for products you have installed. If you use the online documenation, you can access any example.
The openExample workflow will download the example files to a local folder.
If you do not have version R2023b or newer installed but have access to MATLAB Online, use the Open in MATLAB Online option. It is always on the latest version. That wlil add the files to you MATLAB Drive.
Walter Roberson
Walter Roberson am 25 Feb. 2024
The openExample workflow will download the example files to a local folder.
... In theory. In practice, it sometimes messes up fetching some of the files from the server.
Salem Almezoge
Salem Almezoge am 25 Feb. 2024
This error appears when I try to run it
and I cannot add it to online Matlab
Walter Roberson
Walter Roberson am 25 Feb. 2024
You need a license for the Phased Array System Toolbox.
Salem Almezoge
Salem Almezoge am 25 Feb. 2024
How do I get a license?
Walter Roberson
Walter Roberson am 25 Feb. 2024
Click on the "Learn how to get this product" and follow the instructions there?
You might need to purchase a license for the product.
Salem Almezoge
Salem Almezoge am 25 Feb. 2024
thank you
and this error?
Cris LaPierre
Cris LaPierre am 26 Feb. 2024
I can't duplicate. What version of MATLAB are you using?
Salem Almezoge
Salem Almezoge am 27 Feb. 2024
I have matlab 2023a I can ran this example?
Cris LaPierre
Cris LaPierre am 27 Feb. 2024
As Walter pointed out, this example was introduced in R2023b. You will need that version of MATLAB to access it using the openExample command.
However, I don't see anything in the code that would prevent it from running in R2023a.
Nader Rihan
Nader Rihan am 2 Jun. 2024
Hi Cris,
I want to draw the pattern of this ris. How can I do that?.
Cris LaPierre
Cris LaPierre am 4 Jun. 2024
Please clarify what 'this ris' is.
Walter Roberson
Walter Roberson am 5 Jun. 2024
I suspect that "this ris" refers to the variable "ris" returned from helperRISSurface()

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by