Display what I have selected.

22 ビュー (過去 30 日間)
Nathan Formby
Nathan Formby 2019 年 10 月 8 日
コメント済み: Rik 2019 年 10 月 8 日
I am trying to get what I selected from menu's which form a column and a row to show what is where they both meet.
clear
clc
load ('MA2_data.mat');
dayIdx = menu('Please select a day',string(Days));
locIdx = menu('Please select a loaction',LocationID);
fprintf('On Day %d, at loacation %s, the ice thickness was %0.3f\n[m]',Days(dayIdx),LocationID(locIdx),Ice(dayIdx,locIdx))
  1 件のコメント
Rik
Rik 2019 年 10 月 8 日
It looks like this works, what is your question?

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File Exchange2-D and 3-D Plots についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by