Morph

버전 1.0.0.0 (192 KB) 작성자: Jonathan
Morphs an array into another
다운로드 수: 964
업데이트 날짜: 2011/8/25

라이선스 보기

Did you ever need to smoothly turn an array into another?

This function morphs an input sequence into another, in a specified number of steps. Required inputs:
* A : sequence start, array of scalars
* B : sequence end, array of scalars
* n : length of desired final sequence
- [opt] met : method used for interpolation, defaults to 'linear' (equivalent to the option of interp1 function)

The final output has the size [size(B) n], so A and B can have as many dimensions as you want; the concatenation occurs on the dimension ndims(B)+1.

It doesn't matter if A and B are not the same size, as long as they have the same number of elements.

The example is given with images, but A and B can be any kind of sequence of numbers.

An additional interpolation method is provided for 'ease out' effects, the corresponding option is 'splinease'.

Enjoy ;)

인용 양식

Jonathan (2024). Morph (https://www.mathworks.com/matlabcentral/fileexchange/32683-morph), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R2011a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Read, Write, and Modify Image에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

JonathanHadida_Morph/

버전 게시됨 릴리스 정보
1.0.0.0