搜索
Assignments, quizzes, midterms, finals, grades, joys of success, the anxiety of low grades. Sounds like a typical cycle that students go through, right? Sometimes, all that hustle and bustle makes students forget that coding could be fun! Dr. Amin Rahman teaches AMATH 301 at the University of Washington. Many engineering students take this course and learn MATLAB in the course. He was looking for ways to keep students engaged and remind them that coding is fun. To achieve this goal Dr. Rahman and I set up a small competition in MATLAB Grader. Dr. Rahman selected several problems from MATLAB Grader problem collections. Students competed in this optional competition without the pressure of grades. They submitted their solutions; their submissions were automatically graded using MATLAB Grader and they got instant feedback. Green checkmarks for the correct answers empowered students and gamified coding. With the feedback they got, they continuously improved their code.
Prizes? Aside from the joys of coding in MATLAB, students won MathWorks-branded items like t-shirts, hats, and bags and proudly wore them as you can see in Dr. Rahman’s tweet.
Interested in using MATLAB Grader? Interested in accessing MATLAB Grader problem collections? Like to brainstorm ideas to make coding more fun? Reach out to us! We are here to help. Any creative ideas to make courses more engaging? Please share your ideas with this community!
If you are interested in live script lecture notes in the following areas, take a look at the short course ( Advanced MATLAB for Scientific Computing ) developed at Stanford. You can also download the required data for the examples from the course GitHub page.
- MATLAB Fundamentals
- Graphics and Data Visualization
- Efficient Code Writing
- System and File Manipulation
- Big Data Handling
- Numerical Linear Algebra
- Numerical Optimization
- Symbolic Toolbox, ODE, and PDE
- Statistical and Machine Learning
- Deep Learning
- Object-Oriented Programming
- Using MATLAB with Other Programming Languages
- Image Processing, Computer Vision, and Image Acquisition
- Signal Processing, Audio, and DSP System
In many universities, introductory programming is taught as a foundation course. Students from different departments are usually brought together to learn to program in these foundation courses. Their home departments may have a programming language preference and that preference may change from department to department. Some universities either strictly teach one language in a single course, some of them teach multiple languages in the same course and give students the flexibility to choose their language for the assignments and projects. How can we make students multilingual when it comes to programming? Is there a way to teach multiple languages in a fair light, side by side without creating a new course or sacrificing one language to teach the other one? Dr. Nathan Kutz from the University of Washington found a creative way to teach MATLAB and Python side by side in his AMATH 301 course. This course is an introductory programming course at the University of Washington and almost all engineering students take it. Do you wonder how Dr. Kutz taught this course? Check out these recordings and course resources! They can be utilized in an in-person or a distance learning setting:
Are you looking for ways to keep your students engaged in a virtual setting? Would you like to spice up your courses with hands-on projects? Using Arduino Engineering Kit, you can achieve these. Due to COVID-19, many instructors started to look for creative ways of giving students a lab experience. Some of them chose to create virtual labs, some of them designed hardware projects with low-cost hardware or integrated hardware projects kits to their curriculum. If you are interested in how Dr. Azadi from San Francisco State University used Arduino Engineering Kit during the pandemic to teach his Mechatronics course, check out these articles:
I need to model a brushless motor for which I only have the data of voltage, power, speed, nominal torque, starting torque, max current and total weight, which moves a bicycle. I have studied the Permanent Magnet Synchronous Machine power_pmmotor Simulink example, but I do not have all the required data. My question is whether it is possible to make an approximate model with my few data. I guess some data could be assumed, but I don't know what typical values would be correct. I would greatly appreciate any suggestion. My best regards.
Hi,
I am new to Matlab and looking to model complete EPS system starting with battery modelling. I have seen videos where the modelling is explained but looking for a one which can teach me from the scratch.
Hi, currently I'm studying about DC-DC Boost converter with controller. After I applied the step time, the output voltage supposed to follow the step time, but there is some delay in the simulation results after I applied the "step time" in the step input block. Can someone help, why this delay occur? Please see the attached pictures. Thanks
As per data sheet for VIPER22A, the product is obsolete.
For UC3843A you will have to refer to the data sheet, link given below: https://www.ti.com/lit/ds/symlink/uc3843a.pdf?ts=1637624394197&ref_url=https%253A%252F%252Fwww.ti.com%252Fproduct%252FUC3843A
For UC3843A, the reference output voltage is 5 V and the normal output voltage is 13.5 V.
After repairing the power supply of a big water buffalo PC150NCA, now all the parts found to be broken are replaced, but the power-on output 12V is only 4.2V. The original power supply block is UC3843B, which is not sold locally. I can only buy a UC3843A replacement . I don’t know if the low output voltage has anything to do with this (the optocoupler and the 431 voltage regulator block have also been replaced)
Attention all Controls Professors, Teaching Assistants, and Students!
The Virtual Hardware and Labs for Controls by Brian Hong is an absolute must-have from the MATLAB Central File Exchange. With the help of Simscape for physical modelling and simulation of mechatronic systems,
- students can use the interactive experiments to teach themselves some of the concepts of control theory in a learn by doing approach.
- professors and TA’s can use this to replace or augment actual lab work.
With tightening budgets and/or in person class restrictions this can help you transfer these vital skills to the students in a fun manner. Here is an overview of the available modules:
https://www.mathworks.com/matlabcentral/fileexchange/100064-virtual-hardware-and-labs-for-controls
If you have any questions feel free to leave a comment below and I’ll get back to you.
Hi DLC, in case you haven't seen it already, Dr. Dennis Dahlquist and Dr. Zekeriya Aliyazicioglu recently developed a collection of Virtual Labs in Electric Circuits . Please feel free to explore and share your thoughts!
In the past 2 months, we had a lot of fun together playing in the two contests. To make future contests better and more appealing to you, we created a 1-minute survey to understand your experience.
Your feedback is critical to us. Thank you in advance and hope to see you in 2022!
With the switching power supply made by VIPER22A scheme , the 5V output always has noise, and the ripple exceeds 200MV after loading. How to change it? 1. 220VAC input, two outputs, 24V and 5V output are noisy, the ripple after 5V load is more than 200MV, 5V is connected with an LDO to 3.3V, and the measured 3.3V is also noisy, and the LDO heats up seriously. Change The LDO remains unchanged. 2. It is suspected that the load current is large, but I changed a circuit board with the same scheme and found that there is no noise. Although there are ripples, it is not very hot. 3. In addition, directly use a 5V adapter to convert to 3.3V through the same LDO. problem. How to change the device in this figure? 4. For hardware novices, the transformer will not be changed temporarily, and I hope to improve it by adjusting other devices.
After 7 weeks of fun, the MATLAB Central community 20th anniversary contests have concluded! Together, we shared the art of MATLAB and contributed to the battle against the global pandemic. See the fantastic stats below.
- 1,700 entries created and 24,000 votes cast in MATLAB Mini Hack
- 6,300 tasks completed in Treasure Hunt
- $17,000 raised for Direct Relief
MATLAB Mini Hack Winners - Week 4
In Week 4, we invited the MATLAB Graphics team to help judge the entries. As the authors of the MATLAB functions used in every entry, they made sure every entry selected used a unique graphics function or technique from the other winners. Here are their choices:
1. Umbrellas by Shanshan Wang
Comment: Cool use of 'swarmchart' to make art from distributions; Only use of one of our newest graphics functions
2. Happy Sheep by Victoria
Comment: Cute!
3. Alien Giant by Jenny Bosten
Comment: Original idea, well textured, and efficient code
4. 3D Ultrasound by Adam Danz
Comment: Replicate source material very well. Effective use of lighting and material. Overall, impressive to produce this image given the limitation
5. Sunset in the Savanna by Sebastian Kraemer
Comment: Looks cool! Nice mix of 'image', 'fill' and 'scatter' commands.
6. Night Flight by Ratul Das
Comment: original; clever use of 'rectangle'
7. Lantern #2 by Tim
Comment: Nice use of 'getframe' to create a texture for 'surf' for a compelling picture
8. Geometric Design (6) by Daniel Pereira
Comment: Looks like some walls at MathWorks
9. Rosette 1313 by Alex P
Comment: Looks cool! Nice use of 'pcolor'
10. Mandelbrot contour by Sumihiro
Comment: Best use of contour!
11. Aim High by Murty PLN
Comment: Largest number of unique graphics objects for the Mini Hack (plot, patch,stairs,stem,text)
In the spirit of Mini Hack, the MATLAB Graphics team also created several cool graphs about the contest. Facing a similar space limit, I have picked only 2.
Bonus Prize Winners - Week 4
Congratulations to our 5 winners for their dual participation in the Treasure Hunt and the MATLAB Mini Hack. Yogiraj Bhagavatula, Pramod Devireddy, Devika U, FruitsLord, and Augusto Mazzei.
Lucky voters - Week 4
Congratulations to the lucky voters who cast the 12000th vote (Gordg Garin), 12500th vote (Eder Esteban Reyes), 13000th vote (Peram Balakrishna), 13500th vote (Emerson Nithiyaraj), 14000th vote(Sekar Naai), 14500th vote (Arika Amasarao), 15000th vote (Nikita Yakovlev), 15500th vote (Kesava Rao), and 16000th vote (Kundi Chandra Sekhar).
Grant Prize Winners
Finally, after validating entries and votes, we have picked the grand prize winners. We appreciate the time and effort you spent and the awesome entries you created. Huge congratulations!
1. Top 10 Authors of most voted entries
Each author will receive 5 customized T-shirts with the winning image and your name on the back of the T-shirts. You can choose the sizes and share them with your family or friends.
- Ciro Bermudez
- Jenny Bosten
- Adam Danz
- Jr
- Maximilian Schönau
- KSSV
- Dr Raveendranathan K C
- taoizm
- Sebastian Kraemer
- Victoria
2. Top 10 Authors with most total votes
Top 10 contestants on the leaderboard will each get an Amazon gift card. The top 3 winners on the leaderboard will also earn special virtual badges.
- Ciro Bermudez
- KSSV
- Juan Villacrés
- Murty PLN
- Pink_panther
- Jenny Bosten
- KARUPPASAMYPANDIYAN M
- Jr
- Adam Danz
- Victoria
On behalf of the MATLAB Central community team, we thank you for joining our celebration of the MATLAB Central community’s 20th anniversary with us in the past 7 weeks. We hope you enjoyed these contests and look forward to seeing you in next year’s contests. Question: “What contests would you like to see next?”
In Week 3, we passed several amazing milestones! 1,000 Participants in the Treasure Hunt , 1,000 ENTRIES and 10,000 votes in the MATLAB Mini Hack , and $10,000 charity donation from both contests! I recommend you read Ned Gulley’s recent blog post , which is a fantastic summary of the contest highlights.
During the last week of this contest, we strongly encourage you to inspire your colleagues, classmates, or friends to participate by either VOTING or CREATING entries. To add some fun, we will give out a T-shirt to LUCKY voters who cast:
- The 12000th vote
- The 12500th vote
- The 13000th vote
- The 13500th vote
- The 14000th vote
- The 14500th vote
- The 15000th vote
- The 15500th vote
- The 16000th vote
MATLAB Mini Hack Winners - Week 3
We’ve received many creative entries for our new categories. Congratulations to the winners! Each of you won a special edition T-shirt:
Greg, entry: better Christmas tree , category: Holidays
Ratul Das, entry: To All Pepperoni Lovers , category: Food
Peter Stampfli, entry: Louis V , category: Fractals
Adrien Leygue, entry: Stained Glass membrane , category: MathWorks Logo
Spencer Miesner, entry: ~Breathe~ , category: Album Cover
Stewart Thomas, entry: The only QR code you ever need , category: Black & White
Sebastian Kraemer, entry: sun , category: 3D
Jenny Bosten, entry: The joys of spring , category: Plant
Adam Danz, entry: MATropolis rooftop view , category: Illustration
Eric Ogier, entry: UFO , category: Fun
Simon Thor, entry: Mandelbrot in 52 characters , category: Concise
Tim, entry: Low Tide , category: Realism
Bonus Prize Winners - Week 3
We are giving out additional giveaways to participants of both the Treasure Hunt and the MATLAB Mini Hack . Congratulations to our 5 winners. Each of you has also won a special edition T-shirt.
- Teodo
- Dyuman Joshi
- Shanshan Wang
- Nirvik Sinha
- Felipe Torres
Week 4
After the contest ends, we need additional time to validate entries for Grand Prize and Weekly Prize. The winners are expected to be announced within a couple of days after the contest ends. Thank you in advance for your patience.
In Week 2, the contest entered a new phase – the voting started! As of today, 6000+ votes have been cast on almost 1000 entries in the GALLERY! As a result, YOU raised $5000+ for Direct Relief in addition to the $2400 raised via the Treasure Hunt contest! We encourage you to continue sharing the contest to inspire others to participate by either voting or creating new entries so we can donate even more!
MATLAB Mini Hack Winners - Week 2
I won’t say judging is getting easier in Week 2 - amazing entries keep coming in every day. Congratulations to the winners! Each of you has won a special edition T-shirt.
- Jenny Bosten, entry: Lake view to the West, category: Realism
- Jan Orwat, entry: Mannheim Colors Variation, category: Fun
- Juan Villacrés, entry: Rocket , category: Print Art
- Roderick La Foy, entry: Numerical Phoenix, category: Abstract
- Johan Pelloux-Prayer, entry: Stained glass, category: Colorful
- Brandon Caasenbrood, entry: The Aizawa's Attractor, category: 3D
- Tucker Downs, entry: Buddahbrot, category: Black & White
- Alberto Cuadra Lara, entry: Sunflower v1, category: Plants
- elkman, entry: City sunrise, category: Illustration
- Dr Raveendranathan K C, entry: A fully connected network of systems, category: Widest Remix Tree
- AKHILA GOUDA, entry: Chess board, category: Deepest Remix Tree
Bonus Prize Winners - Week 2
We are giving out additional giveaways to participants of both the Treasure Hunt and the MATLAB Mini Hack . Congratulations to our 5 winners. Each of you has also won a special edition T-shirt.
- Simon Thor
- Eric Ogier
- David Hill
- Lyes Demri
- Highphi
What’s new in Week 3?
In Week 3, we will add several new categories in which we hope to see more creative entries:
- Holidays
- Album covers
- Food & Drinks
- MathWorks logo
- Fractals
Hi Distance Learning Community members, if you are looking for content in Descriptive Statistics and Probability Distributions for teaching in a course or just brushing up on the concepts yourself, check out these Live Scripts developed by Dr. Ward Nickle from Humboldt State University. If you are interested, this material is also available in Japanese . Enjoy and looking forward to hearing your thoughts!!
In just one week, 500+ amazing entries were created. Math rocks and you rock!
Help us show the world the beauty of mathematics by sharing your work with your friends, classmates, or colleagues. You can also help fight the global pandemic by voting. For each vote, MathWorks will donate $1 to Direct Relief. See the Voting FAQs below for details.
MATLAB Mini Hack Winners - Week 1
Let’s start by saying: your awesome work made our judging VERY HARD! We came up with several categories with one winner each. Congratulations to the winners! Each of you won a special edition T-shirt:
- Adam Danz, entry: pale blue dot , category: Astronomy
- taozim, entry: Collatz Feather , category: Print Art
- Jr, entry: Hi :) , category: 3D Art
- Pink_panther, entry: Guarding Ape of the Math Jungle 1 , category: Animals
- Adrien Leygue, entry: random cut in a d-dimensional checkerboard, category: Black & White
- Barath Narayanan, entry: Julia Set Animation , category: Colorful
- Maximilian Schönau, entry: plot Dark Side , category: Illustration
- Sebastian Kraemer, entry: Cherry blossom tree , category:Plants
- Peter Stampfli, entry: broken inversions , category: deepest remix tree (tie)
- sandeep singh chauhan, entry: BLACK ORCHID, category: deepest remix tree (tie)
- KSSV, entry: I LOVE Matlab, category: widest remix tree
Bonus Prize Winners - Week 1
As we announced last week, we are giving additional giveaways to participants of both the Treasure Hunt contest and the MATLAB Mini Hack contest . Congratulations to our 5 winners. Each of you also won a special edition T-shirt
- Jan Orwat
- warnerchang
- Davide OLIVIERI
- Daniel Niblett
- KARUPPASAMYPANDIYAN M
Voting FAQs:
Q1: Who can vote?
Anyone with a MathWorks account can vote.
Q2: How many times can I vote?
There here is no limit to the number of votes you can cast. Vote for as many entries as you like (one vote per entry).
Q3: How do my votes increase MathWorks’ charity donation?
For every vote an entry gets, we will donate $1 to Direct Relief with a maximum amount of $20 donated per entry. MathWorks will donate up to a maximum of $20,000 based on the combined totals raised by task participation in the Treasure Hunt and voting in the MATLAB Mini Hack .
Q4. How do I win?
At the end of the contest, the top 10 participants on the leaderboard will each get an Amazon gift card and the top 3 will earn special badges. The 10 highest voted entries will win 5 customized T-shirts. See the full contest details.
Every week, we will also award surprise prizes for more fun.
Note that MathWorks staff are NOT eligible for prizes.
Q5: How do votes on my entries determine my rank on the leaderboard?
The total number of votes on ALL of your entries determines your rank on the leaderboard.
Q6: Do votes on remixed entries add votes to the original entry?
No. We count only direct votes on an entry.
Q7: Is the code (also) automatically compared to earlier submissions to determine the remix tree?
No. You have to remix an entry.