필터 지우기
필터 지우기

How to create a matrix for 2D look-up table from 3 vectors

조회 수: 2 (최근 30일)
Tuan-Tu
Tuan-Tu 2016년 7월 28일
댓글: Paxorus Sahay 2016년 7월 28일
Hello,
I have 3 vectors that depend on time : DCR(t), SOC(t), Temp(t).
Do you guys known from 3 vectors above, how could I do to create the matrix that represent the relationship between these 3 parameters ? I means how could I do to create a 2D look-up table of DCR with breakpoint1 is SOC and breakpoint2 is Temp ?
Thank you for reading my question Looking for your answers.
  댓글 수: 1
Paxorus Sahay
Paxorus Sahay 2016년 7월 28일
This looks like a rephrasing of the question you asked two days ago. If you're not looking for a two-keyed hash map, what is it you're looking for? A data structure or a visualization?
If you want a table, you could just do:
table(SOC, Temp, DCR)
If you want a matrix (no headers), you could do:
[SOC, Temp, DCR]
I'm not sure what you mean by breakpoint.

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Nonlinearity에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by