Clear Filters
Clear Filters

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 ?

1 view (last 30 days)

Answers (1)

John D'Errico
John D'Errico on 9 Aug 2023
Edited: John D'Errico on 9 Aug 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 Comments
Hasnain
Hasnain on 10 Aug 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 on 10 Aug 2023
Edited: Stephen23 on 10 Aug 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?

Sign in to comment.

Products


Release

R2018b

Community Treasure Hunt

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

Start Hunting!