フィルターのクリア

Create datas by drawing a 2D graph in Matlab

2 ビュー (過去 30 日間)
Alexandre Willame
Alexandre Willame 2015 年 10 月 2 日
編集済み: Alexandre Willame 2015 年 10 月 13 日
I have been using Matlab for years and have always had that problem for making quick programs for testing, mainly because non straightforward values are hard to quickly generate in Matlab (e.g. torque vs. current motor graph, ICs limit temperature vs. current, etc.).
I would like to be able to draft, using the mouse, a 2D graph, that will be converted directly in Matlab into 2D (nx2 matrix, structure with 2 fields, etc.) into usable draft data. Example of application would be drawing an approximate Torque vs. Current graph that characterize Motors, that is very painful to acquire or create in Matlab otherwise.
Do you know how that would be possible?
Thank you,

回答 (1 件)

Partha Ghosh
Partha Ghosh 2015 年 10 月 13 日
編集済み: Partha Ghosh 2015 年 10 月 13 日
Use this function and then you can write it yourself. "[x,y] = ginput(n)" look at this page . Not sure how useful it will be at the end though. It is difficult to draw a nice graph with mouse.

カテゴリ

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