Matlab Final Project

12 views (last 30 days)
hckfb
hckfb on 13 Dec 2011
Edited: DGM on 1 Jan 2024
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.

Answers (3)

Jan
Jan on 14 Dec 2011
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 Comments
Jan
Jan on 14 Dec 2011
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 on 14 Dec 2011
+1 for being a good mentor and understand that I am envying.

Sign in to comment.


Jan
Jan on 14 Dec 2011
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 Comments
Walter Roberson
Walter Roberson on 14 Dec 2011
http://www.mathworks.com/matlabcentral/answers/8026-best-way-s-to-master-matlab
Jan
Jan on 14 Dec 2011
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.

Sign in to comment.


Venkata
Venkata on 1 Dec 2022
Did you make a plot with seven line?
  1 Comment
DGM
DGM on 1 Dec 2022
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

Sign in to comment.

Categories

Find more on Just for fun in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!