Code Monkey home page Code Monkey logo

Comments (4)

Haotian-Zhang-PKU avatar Haotian-Zhang-PKU commented on July 18, 2024 1

Thank you very much! In fact, I can now run the code normally. I just want to confirm the parameter setting of "UPA_codebook_generator_DFT.m".

from camerapredictsbeams.

Haotian-Zhang-PKU avatar Haotian-Zhang-PKU commented on July 18, 2024

Like you, I also want to ask how to generate the codebook and how to set the parameters for the UFA_codebook_generator.

from camerapredictsbeams.

malrabeiah avatar malrabeiah commented on July 18, 2024

Thanks for your interest, both @nasirsinani and @Haotian-Zhang-PKU.

For the dataset, I really recommend you, guys, to read the notes in the beginning of the function you're using, for they are provided to help you "understand" what the function is doing. I know they are not detailed notes, but in this case they provide an answer to your question about preparing the datasets.

From the "getMATLAB" function notes:
":param matlab_file: path to the matlab data structure to read. The structure is expected
to have two fields: wireless channels and user locations. The channel field
should be a 4D array: #of antennas, # of subcarriers, # of user positions, # of BS
user location field should be a 2D array: 3, # of user positions"
The .mat file must be a "MATLAB" structure with two fields, whatever you want to name them. The important thing is that one is for channel data and the other is for the location data. Both fields must contain MATLAB arrays with different sizes, 4D for channel and 2D for location.

Please make sure you process the generated data to get the described structure!

from camerapredictsbeams.

malrabeiah avatar malrabeiah commented on July 18, 2024

Now for the codebook function, i.e., "UPA_codebook_generator_DFT.m", I have added some notes in the beginning of the function to explain the arguments. Please, use the parameters in Table 1 in the paper "Millimeter Wave Base Stations with Cameras: Vision Aided Beam and Blockage Prediction" to configure your codebook.

In the end, I would really like to emphasize two points:

  1. Please read the notes provided in any script.
  2. When you get stuck with a script, consider playing around with it. This usually resolves 70% of the problems you may face.

from camerapredictsbeams.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.