Friday 15 January 2010

matlab - how to get a 1x4 double from 1x1x4 double? -


I have a value with 1x1x4 double and need to double it to 1x4 Is out of it

The problem is, I do not know how to do it. Can anyone help me?

It looks like:

  val (:,:, 1) = 0.5601w (:,:, 2) = 0.4876 with the (:,:, 3) = 0.8146 wal (:,:, 4) = 0.6207   

but it should be:

  1x4 double = 0.5601 0.4876 0.8146 0.6207 <  squeeze (val) '  

You can also see or your problem is a bit more complicated

No comments:

Post a Comment