how i can reprenst in matlab?
75 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
nikhitha kundarapu
el 10 de Mzo. de 2018
Comentada: Kane
el 25 de Nov. de 2025 a las 3:52
%%%Preamble in frequency domain as provided in the wimax standard
%%%These are frequency domain 201 values in the order of 100 negative halves, DC and 100 positive
%%%halves
%%%STEP1
Pall= [1.0000 - 1.0000i 1.0000 - 1.0000i -1.0000 - 1.0000i 1.0000 + 1.0000i 1.0000 - 1.0000i 1.0000 - 1.0000i ...
-1.0000 + 1.0000i 1.0000 - 1.0000i 1.0000 - 1.0000i 1.0000 - 1.0000i 1.0000 + 1.0000i -1.0000 - 1.0000i ...
1.0000 + 1.0000i 1.0000 + 1.0000i -1.0000 - 1.0000i 1.0000 + 1.0000i -1.0000 - 1.0000i -1.0000 - 1.0000i ...
1.0000 - 1.0000i -1.0000 + 1.0000i 1.0000 - 1.0000i 1.0000 - 1.0000i -1.0000 - 1.0000i 1.0000 + 1.0000i ...
1.0000 - 1.0000i 1.0000 - 1.0000i -1.0000 + 1.0000i 1.0000 - 1.0000i 1.0000 - 1.0000i 1.0000 - 1.0000i ...
1.0000 + 1.0000i -1.0000 - 1.0000i 1.0000 + 1.0000i 1.0000 + 1.0000i -1.0000 - 1.0000i 1.0000 + 1.0000i ...
-1.0000 - 1.0000i -1.0000 - 1.0000i 1.0000 - 1.0000i -1.0000 + 1.0000i 1.0000 - 1.0000i 1.0000 - 1.0000i ...
-1.0000 - 1.0000i 1.0000 + 1.0000i 1.0000 - 1.0000i 1.0000 - 1.0000i -1.0000 + 1.0000i 1.0000 - 1.0000i ...
1.0000 - 1.0000i 1.0000 - 1.0000i 1.0000 + 1.0000i -1.0000 - 1.0000i 1.0000 + 1.0000i 1.0000 + 1.0000i ...
-1.0000 - 1.0000i 1.0000 + 1.0000i -1.0000 - 1.0000i -1.0000 - 1.0000i 1.0000 - 1.0000i -1.0000 + 1.0000i ...
1.0000 + 1.0000i 1.0000 + 1.0000i 1.0000 - 1.0000i -1.0000 + 1.0000i 1.0000 + 1.0000i 1.0000 + 1.0000i ...
-1.0000 - 1.0000i 1.0000 + 1.0000i 1.0000 + 1.0000i 1.0000 + 1.0000i -1.0000 + 1.0000i 1.0000 - 1.0000i ...
-1.0000 + 1.0000i -1.0000 + 1.0000i 1.0000 - 1.0000i -1.0000 + 1.0000i 1.0000 - 1.0000i 1.0000 - 1.0000i ...
1.0000 + 1.0000i -1.0000 - 1.0000i -1.0000 - 1.0000i -1.0000 - 1.0000i -1.0000 + 1.0000i 1.0000 - 1.0000i ...
-1.0000 - 1.0000i -1.0000 - 1.0000i 1.0000 + 1.0000i -1.0000 - 1.0000i -1.0000 - 1.0000i -1.0000 - 1.0000i ...
1.0000 - 1.0000i -1.0000 + 1.0000i 1.0000 - 1.0000i 1.0000 - 1.0000i -1.0000 + 1.0000i 1.0000 - 1.0000i ...
-1.0000 + 1.0000i -1.0000 + 1.0000i -1.0000 - 1.0000i 1.0000 + 1.0000i 0.0000 + 0.0000i -1.0000 - 1.0000i ...
1.0000 + 1.0000i -1.0000 + 1.0000i -1.0000 + 1.0000i -1.0000 - 1.0000i 1.0000 + 1.0000i 1.0000 + 1.0000i ...
1.0000 + 1.0000i -1.0000 - 1.0000i 1.0000 + 1.0000i 1.0000 - 1.0000i 1.0000 - 1.0000i 1.0000 - 1.0000i ...
-1.0000 + 1.0000i -1.0000 + 1.0000i -1.0000 + 1.0000i -1.0000 + 1.0000i 1.0000 - 1.0000i -1.0000 - 1.0000i ...
-1.0000 - 1.0000i -1.0000 + 1.0000i 1.0000 - 1.0000i 1.0000 + 1.0000i 1.0000 + 1.0000i -1.0000 + 1.0000i ...
1.0000 - 1.0000i 1.0000 - 1.0000i 1.0000 - 1.0000i -1.0000 + 1.0000i 1.0000 - 1.0000i -1.0000 - 1.0000i ...
-1.0000 - 1.0000i -1.0000 - 1.0000i 1.0000 + 1.0000i 1.0000 + 1.0000i 1.0000 + 1.0000i 1.0000 + 1.0000i ...
-1.0000 - 1.0000i -1.0000 + 1.0000i -1.0000 + 1.0000i 1.0000 + 1.0000i -1.0000 - 1.0000i 1.0000 - 1.0000i ...
1.0000 - 1.0000i 1.0000 + 1.0000i -1.0000 - 1.0000i -1.0000 - 1.0000i -1.0000 - 1.0000i 1.0000 + 1.0000i ...
-1.0000 - 1.0000i -1.0000 + 1.0000i -1.0000 + 1.0000i -1.0000 + 1.0000i 1.0000 - 1.0000i 1.0000 - 1.0000i ...
1.0000 - 1.0000i 1.0000 - 1.0000i -1.0000 + 1.0000i 1.0000 + 1.0000i 1.0000 + 1.0000i -1.0000 - 1.0000i ...
1.0000 + 1.0000i -1.0000 + 1.0000i -1.0000 + 1.0000i -1.0000 - 1.0000i 1.0000 + 1.0000i 1.0000 + 1.0000i ...
1.0000 + 1.0000i -1.0000 - 1.0000i 1.0000 + 1.0000i 1.0000 - 1.0000i 1.0000 - 1.0000i 1.0000 - 1.0000i ...
-1.0000 + 1.0000i 0.0000 + 0.0000i -1.0000 + 1.0000i -1.0000 + 1.0000i 1.0000 - 1.0000i -1.0000 - 1.0000i ...
-1.0000 - 1.0000i 1.0000 - 1.0000i -1.0000 + 1.0000i -1.0000 - 1.0000i -1.0000 - 1.0000i 1.0000 - 1.0000i ...
-1.0000 + 1.0000i -1.0000 + 1.0000i -1.0000 + 1.0000i 1.0000 - 1.0000i -1.0000 + 1.0000i 1.0000 + 1.0000i ..
1.0000 + 1.0000i 1.0000 + 1.0000i -1.0000 - 1.0000i -1.0000 - 1.0000i -1.0000 - 1.0000i -1.0000 - 1.0000i ...
1.0000 + 1.0000i 1.0000 - 1.0000i 1.0000 - 1.0000i]
2 comentarios
Respuesta aceptada
Steven Lord
el 20 de Nov. de 2025 a las 6:02
Movida: Cris LaPierre
el 21 de Nov. de 2025 a las 15:54
It's not clear to me what the question is, unless it's "How can I populate a vector with multiple copies of numbers without typing them explicitly?" If that is the question see the repmat or repelem functions or just use multiplication or indexing.
re = [1 1 -1 -1];
im = [1 -1 1 -1];
x = complex(re, im)
y = repmat(x, 2, 2)
z = repelem(x, [4 2 5 3])
w = x(ones(3, 3))
v = x(2)*ones(4)
Depending on what you're planning to do with these numbers later, the cplxpair function may also be of use.
2 comentarios
Tom Tutin
el 21 de Nov. de 2025 a las 3:56
Movida: Cris LaPierre
el 21 de Nov. de 2025 a las 15:54
That's it! Thanks Steven!
Kane
el 25 de Nov. de 2025 a las 3:52
Good Lord! Hes got the answer. I am happy to see it will also work in R2018.
Más respuestas (0)
Ver también
Categorías
Más información sobre Color and Styling en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!