1*1835008=​1*786432(1​024*256*2(​1:1024,:,1​:2)),[1:25​6,1*262144​)] is run in Matlab or not if not then tell me reason ?

5 vues (au cours des 30 derniers jours)
  2 commentaires
Torsten
Torsten le 9 Août 2023
What do you expect that MATLAB should do with this line ?
Hasnain
Hasnain le 9 Août 2023
i want to get C_P(p) must be 1*1835008 sequence

Connectez-vous pour commenter.

Réponses (1)

John D'Errico
John D'Errico le 9 Août 2023
Modifié(e) : John D'Errico le 9 Août 2023
The reason is simple. The = operator is an assignment operator. It assigns whatever is on the right side to the variable on the left.
1*1835008=1*786432(1024*256*2(1:1024,:,1:2)),[1:256,1*262144)]
But what do you have?
The left hand side is a NUMBER. You cannot assign something to a number. We don't even need to check any further to look at what the right hand side was, since MATLAB is already stuck.
  7 commentaires
Hasnain
Hasnain le 10 Août 2023
ok let we assume for some time that is just simple calculation now how we convert into MATLAB Syntax for require results ?
its a only reference in paper
Stephen23
Stephen23 le 10 Août 2023
Modifié(e) : Stephen23 le 10 Août 2023
"now how we convert into MATLAB Syntax for require results ?"
Here are some options:
  • pay someone to convert it for you
  • ask the authors if they already have the code you want
  • use a conversion tool (if one exists)
  • do it yourself
Or do you imagine that we should go and download that paper, figure out what langauge it is written in, go and learn that language, reverse-engineer that code, and then rewrite it for you in MATLAB code?

Connectez-vous pour commenter.

Catégories

En savoir plus sur Startup and Shutdown dans Help Center et File Exchange

Produits


Version

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by