Convert Two Arrays into One Matrix Containing Incremented Between Values

Let's say I have:
i and I, such that I=i-10
i =
100
432
660
I =
90
422
650
And want Matlab to produce the following matrix:
90 91 92 93 94 95 96 97 98 99 100
422 423 424 425 426 427 428 429 430 431 432
650 651 652 653 654 655 656 657 658 659 660
How would I go about doing that? It seems like it should be pretty simple...

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Resizing and Reshaping Matrices에 대해 자세히 알아보기

질문:

2011년 4월 4일

Community Treasure Hunt

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

Start Hunting!

Translated by