Importing coordinates from excel and making points.
現在この質問をフォロー中です
- フォローしているコンテンツ フィードに更新が表示されます。
- コミュニケーション基本設定に応じて電子メールを受け取ることができます。
エラーが発生しました
ページに変更が加えられたため、アクションを完了できません。ページを再度読み込み、更新された状態を確認してください。
古いコメントを表示
Hello. I need to import 3D coordinates from excel to matlab and make points in matlab from those coordinates, I have three columns for each X, Y and Z coordinate. Thanks for help
採用された回答
KSSV
2018 年 6 月 20 日
[num,txt,raw] = xlsread('myfile.xlsx') ;
X = num(:,1) ;
Y = num(:,2) ;
Z = num(:,3) ;
plot3(X,Y,Z,'.')
9 件のコメント
Matija Kosak
2018 年 6 月 20 日
Does xlsx file must be in a specific folder?
KSSV
2018 年 6 月 20 日
Two options:
1. Run the code in the folder where file is resent.
2. Give filename with complete path and run the code.
Matija Kosak
2018 年 6 月 20 日
編集済み: Matija Kosak
2018 年 6 月 20 日

Is it possible to write code to make path like on picture?
KSSV
2018 年 6 月 20 日
YOu have coordinates of the path?
Matija Kosak
2018 年 6 月 20 日
I have coordinates for those points. I would need some code that can make path from them.
KSSV
2018 年 6 月 20 日
share the data.
Matija Kosak
2018 年 6 月 20 日
I can't upload directly. So this is excel file with coordinates, you can see it's not in correct order of path I want to make, so is there any code you can use to make path that is similar to picture.
Matija Kosak
2018 年 6 月 21 日
Do you maybe know any way that is possible? maybe something with point cloud?
Abel Francis
2020 年 10 月 18 日
編集済み: Abel Francis
2020 年 10 月 18 日
Is it possible to import coordinates in DMS from excel file into MATLAB?
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Data Import from MATLAB についてさらに検索
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Web サイトの選択
Web サイトを選択すると、翻訳されたコンテンツにアクセスし、地域のイベントやサービスを確認できます。現在の位置情報に基づき、次のサイトの選択を推奨します:
また、以下のリストから Web サイトを選択することもできます。
最適なサイトパフォーマンスの取得方法
中国のサイト (中国語または英語) を選択することで、最適なサイトパフォーマンスが得られます。その他の国の MathWorks のサイトは、お客様の地域からのアクセスが最適化されていません。
南北アメリカ
- América Latina (Español)
- Canada (English)
- United States (English)
ヨーロッパ
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
