Matlab Final Project

조회 수: 2 (최근 30일)
hckfb
hckfb 2011년 12월 13일
편집: DGM 2024년 1월 1일
Hello, I am freshman student at mechanical engineering. I have a matlab project but I don't know what I will do.Can you help me for it. If project on gui, it will very good. Thank you in advance. I try to make a piano on matlab gui but I don't know how I make exactly. I will appreciate if you help me.
  댓글 수: 2
Fangjun Jiang
Fangjun Jiang 2011년 12월 13일
편집: DGM 2024년 1월 1일
Walter Roberson
Walter Roberson 2011년 12월 13일
편집: Walter Roberson 2015년 11월 20일

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

답변 (3개)

Jan
Jan 2011년 12월 14일
Dear huseyin,
The funny comments to your message are caused by the fact, that you forgot to mention any relevant details. It matters, if you are studying medical informatics or if this the final project of a 5-days-Matlab-course in the school. Without knowing any details, a serious answer is not possible.
I think, another cause for the level of humor in the above comments is envy. I do not know the cyclist, Fangjun or Walter personally, so this is a pure speculation: if they are a little bit like me, their heads are crowded by ideas for projects, but 24 hours a day are not enough to implement them. I'm so far away from not knowing, what I could do, that it is hard to imagine such a situation anymore.
Do not take it personally. Just add more details (by editing your original message, not by adding a comment or answer) and you will probably get more answers - apart from this off-topic meta-answer.
  댓글 수: 4
Jan
Jan 2011년 12월 14일
If you buy a cute tablet-PC (one of the thing you put "app"s on, such that you do not have to carry the "lication"s), you could feed this forum even from a disco.
Fangjun Jiang
Fangjun Jiang 2011년 12월 14일
+1 for being a good mentor and understand that I am envying.

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


Jan
Jan 2011년 12월 14일
Fine. A piano is a good point to start from. What part of the piano do you want to simulate or visualize? The keyboard only, of the vibrating body, the strings or the complicated hammer machine?
  댓글 수: 3
Walter Roberson
Walter Roberson 2011년 12월 14일
http://www.mathworks.com/matlabcentral/answers/8026-best-way-s-to-master-matlab
Jan
Jan 2011년 12월 14일
What kind of visualization do you want? 2D, 3D, animated keys or simple buttons? Should it be possible to press more than one key at the same time? Accustical feedback?
Did you learn how to use GUIDE already? If not, read the corresponding chapters in the documentation.
I think, I'm on your way now to find out, what you want to do. If you have explicite questions concerning Matlab, they are very welcome in this forum.

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


Venkata
Venkata 2022년 12월 1일
Did you make a plot with seven line?
  댓글 수: 1
DGM
DGM 2022년 12월 1일
That can be done too.
% make a piano with seven lines
piano = {[160 345; 238 336; 206 340; 213 440; 230 441; 239 335; 300 327; 300 317; 311 314; 312 303; 317 299;
347 291; 449 275; 422 280; 427 359; 440 359; 448 275; 467 272; 472 267; 471 217; 458 213; 441 211;
415 208; 400 207; 382 207; 370 209; 192 220; 195 208; 134 196; 121 237; 182 253; 193 220];
[124 228; 72 233; 71 272; 46 276; 45 300; 125 332; 101 323; 106 388; 121 388; 124 332; 159 345;
160 315; 188 311; 189 264; 71 233; 190 264; 308 254; 314 251; 314 244; 320 239; 343 235; 404 227;
440 224; 463 221; 470 219];
[157 200; 251 79; 332 78; 302 115; 309 121; 327 129; 348 131; 380 133; 437 136; 454 137; 464 142;
464 149; 450 169; 428 190; 412 197; 392 203; 379 207];
[78 285; 52 285; 152 321; 152 314; 156 311; 78 285];
[238 121; 275 254; 271 253; 238 121];
[147 343; 147 415; 136 417; 144 422; 150 420; 152 415; 152 345; 159 347; 159 421; 150 425; 158 428;
163 424; 164 347];
[180 346; 166 414; 165 422; 140 411; 142 405; 162 413; 176 345]};
for l = 1:numel(piano)
plot(piano{l}(:,1),450-piano{l}(:,2),'linewidth',2)
hold on
end

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

카테고리

Help CenterFile Exchange에서 Debugging and Analysis에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by