Hi, whenever I try to put this code in Matlab it gives me an error. What is the problem ?
a = [36.48 35.33 35.92 32.28 31.61 38.06 31.86 33.81 30.30 35.27 35.28 36.58 38.81 33.31 33.88 36.34 36.25 30.46 37.37 37.52 36.73 37.17 33.07 34.27 36.94 38.67 32.08 33.79 32.85 35.22 36.62 33.05 35.43 36.63 31.46 35.03 36.22 32.71 32.52 27.23 35.80 33.16 35.19 32.91 35.44 36.82 36.49 32.83 32.43 34.16 39.63 34.38 36.51 30.00.39.64 34.52 37.39 34.16 35.76 37.63 36.05 35.36 35.00 33.61 36.98 36.64 31.18 36.13 37.51 39.05 31.57 36.21 33.84 35.01 34.95 37.68 36.38 38.43 39.07 33.06 35.97 35.92 36.51 33.89 36.01 33.71 32.34 33.29 32.81 37.13 35.61 37.13 31.37 35.89 36.33 36.65 37.91 42.18 39.25 33.32]

 Respuesta aceptada

Image Analyst
Image Analyst el 29 de Sept. de 2013

0 votos

It will tell you, with a red squiggly underline where the problem is. In your case you have this "number" in there:
30.00.39.64
You cannot have a number with three decimal points in it.

Más respuestas (1)

Azzi Abdelmalek
Azzi Abdelmalek el 29 de Sept. de 2013
Editada: Azzi Abdelmalek el 29 de Sept. de 2013
a = [36.48 35.33 35.92 32.28 31.61 38.06 31.86 33.81 30.30 35.27 35.28 36.58 38.81 33.31 33.88 36.34 36.25 30.46 37.37 37.52 36.73 37.17 33.07 34.27 36.94 38.67 32.08 33.79 32.85 35.22 36.62 33.05 35.43 36.63 31.46 35.03 36.22 32.71 32.52 27.23 35.80 33.16 35.19 32.91 35.44 36.82 36.49 32.83 32.43 34.16 39.63 34.38 36.51 30.00 39.64 34.52 37.39 34.16 35.76 37.63 36.05 35.36 35.00 33.61 36.98 36.64 31.18 36.13 37.51 39.05 31.57 36.21 33.84 35.01 34.95 37.68 36.38 38.43 39.07 33.06 35.97 35.92 36.51 33.89 36.01 33.71 32.34 33.29 32.81 37.13 35.61 37.13 31.37 35.89 36.33 36.65 37.91 42.18 39.25 33.32]

Categorías

Más información sobre Creating and Concatenating Matrices en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 29 de Sept. de 2013

Comentada:

el 29 de Sept. de 2013

Community Treasure Hunt

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

Start Hunting!

Translated by