Hey guys,
I have two matrices: < 57x600x27 double > and < 57x600x14 single >.
1- I got these matrices exactly from identical dataset. What is the reason that one is double and another is single?
2- How can I change the Single to Double? (because I cannot filter it (Chebyshev filter) when it is single and an error message appreas like "_Input arguments must be 'double'").
Thanks for your help!

 채택된 답변

Matt Fig
Matt Fig 2011년 3월 30일

1 개 추천

1- That would depend on how your dataset was generated. We really have no way of knowing that.
2- Use the DOUBLE function. For example, create a matrix of ones of type single, then convert it to a matrix of ones of type double:
double(ones(3,'single'))

댓글 수: 3

Salaheddin Hosseinzadeh
Salaheddin Hosseinzadeh 2014년 3월 31일
What's the difference between double and single?! I don't understand its principle!! :(
Salaheddin Hosseinzadeh
Salaheddin Hosseinzadeh 2014년 4월 1일
@ Per isakson
Thanks so much! ;)

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Logical에 대해 자세히 알아보기

태그

질문:

M G
2011년 3월 30일

댓글:

2014년 4월 1일

Community Treasure Hunt

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

Start Hunting!

Translated by