メインコンテンツ

結果:


Jiro Doke
Jiro Doke
最後のアクティビティ: 2023 年 4 月 10 日

There’s a webinar on online learning tools with MATLAB this Friday. It’s for time zones in Asia Pacific.

Register if you’re interested!

Boby S
Boby S
最後のアクティビティ: 2020 年 4 月 13 日

Hi I want to track a animal in my recorded video. I tried computer vision toolbox but it is not very accurate for this type of tracking. The recording is from top and the animal runs in a maze. I want to track body and head. The next step is classifying the movements in video using deep learning but again we do not have a trained network.

LAXMI PRIYANKA
LAXMI PRIYANKA
最後のアクティビティ: 2020 年 4 月 14 日

iam working with rgb fundus images my task is to convert the rgb image to hsv space and extract the channels and perform brightness correction in the image now i am little confused on how to extract the channels of the corrected image the corrected image is not saved as jpg format could anyone help me to solve this issue i have also attached the coding thank you in advance

Naomi Fernandes
Naomi Fernandes
最後のアクティビティ: 2020 年 4 月 6 日

Looking for solutions to move your course online? zyBooks and MathWorks have teamed up to provide free access to the Introduction to MATLAB zyBook for the remainder of the Spring 2020 semester.

This web-based book presents a comprehensive introduction to MATLAB through interactive questions, animations, and automated MATLAB assessment. Benefits include:

  • Access the textbook, homework, and practice from one location
  • Put theory into action through an engaging, learn-by-doing approach
  • Improve student learning with instant, contextual feedback
  • Save time grading with automated MATLAB assessment using MATLAB Grader
  • See real-time analysis of class and student performance
  • Create custom MATLAB assignments using zyLabs
  • Use proven, prebuilt interactive questions and animations

Learn more at: https://www.zybooks.com/covid-19-care-package/

Jiro Doke
Jiro Doke
最後のアクティビティ: 2023 年 8 月 24 日

MATLAB Online lets students run MATLAB without having to install the software on the computer. All you need is a web browser and an internet connection.

I would love to hear comments and experiences of using MATLAB Online.

The Webinar has ended, but you can view the recording here on YouTube.

MathWorks has developed several cloud-based tools to enable instructors and students to have access for teaching and learning anytime, anywhere. Join us for a free webinar with Dr. Elvira Osuna-Highley where we’ll discuss these tools, how they fit together to support your course development and delivery workflow, and how to use them immediately in your online course.

We will discuss several resources including:

• Accessing MATLAB Online and MATLAB Drive Anytime, Anywhere

• Leveraging interactive content with self-paced courses, MATLAB Apps, and Live Scripts

• Mentoring students at scale with automated assessment and feedback in MATLAB Grader

• Connecting students with the community by participating in the MATLAB user community

Thank you to IFEES, GEDC and IUCEE for sponsoring this series to help support educators across the world in moving their courses online.

Chad Allie
Chad Allie
最後のアクティビティ: 2020 年 3 月 30 日

Hello Distance Learning Community!

I am hoping to hear from any academics in how MATLAB's online resources have helped you during this difficult time of transition to online courses:

- Have you had any issues or difficulties with getting started with our online tools?

- Do you see any areas of improvement that could better serve your course in an online environment?

- Do you have any stories to share of how these online tools have helped you to run your class and improve it for the future?

Thank you and stay well!

Chad Allie

Education Customer Success (USA Southwest)

Jiro Doke
Jiro Doke
最後のアクティビティ: 2020 年 3 月 30 日

Hello everyone,

I’m Jiro, and I’m part of the Education Customer Success group at MathWorks. We help academics, students, and institutions achieve success through the use of our tools. I will be the moderator for this new community of distance learning.

As many academic institutions are moving their classes online, we hope that this community will help instructors connect with others who are in the same situation. This community site gathers various resources and information that will be useful for teaching with MATLAB and Simulink in a distance learning setting. We have a number of MathWorks employees monitoring this community, but we want this to be a place for the community to come together. The hope is that the community will grow and the resources gathered here will grow with it.

I encourage you to share best practices ( Discussions ), ask questions ( MATLAB Answers ), and share examples ( File Exchange ).

As a first question, what course are you teaching (or planning to teach) online?

In problem 16 I used the following solution:
function b = nearZero(a)
b = max(a(imdilate(a == 0, [1 1 1])));
end
It is working pretty well on mathlab but when I submit my answer to cody, the following error is generated:
Undefined function 'imdilate' for input arguments of type 'double'.
Error in nearZero (line 2)
b = max(a(imdilate(a == 0, [1 1 1])));
Error in Test1 (line 3)
assert(isequal(nearZero(a),b))
Nabil Miri
Nabil Miri
最後のアクティビティ: 2020 年 3 月 14 日

In number 5, its written that the correct answer is c = 1 but the secomnd person has more change than the first person, therefor the correct answer should be 2.Likewise in number 6.
Hi, I'm trying to solve this problem but I'm getting an error so far.
Problem:
Given a vector a, find the number(s) that is/are repeated consecutively most often. For example, if you have
a = [1 2 2 2 1 3 2 1 4 5 1]
The answer would be 2, because it shows up three consecutive times
What I've written so far (not done):
a = [1 2 2 2 1 3 2 1 4 5 1];
[x,y] = size(a);
counter = zeros(1,10);
if x == 1
for i=1:1:y
if a(i) == a(i+1)
counter(a(i)) = counter(a(i))+1
end
end
else
for i=1:1:x
if a(i) == a(i+1)
counter(a(i)) = counter(a(i))+1
end
end
end
But it says "error" in the line of "if a(i) == a(i+1)". I noticed that it creates a variable called "i" which value is 11, but it should create a vector from 1 to 11. What's wrong here?
I know my solution might not be in the right direction or something, but please don't tell me anything!
Thanks in advance
Jan
Jan
最後のアクティビティ: 2024 年 10 月 4 日

After reading Rik's comment I looked for a list of Matlab releases and their corresponding features. Wiki: Matlab contains an exhaustive list, but what about having a lean version directly in the forum?
If this is useful, feel free to expand the list and to insert additions. Thank you.
Rik
Rik
最後のアクティビティ: 2022 年 11 月 4 日

There are multiple ways to create a graphical user interface (GUI) in Matlab. Which method is the best depends on multiple factors: the complexity of the project, to what extent it should be a long-term solution, on what releases your GUI should work, your available time, your skill level, and probably other factors I'm forgetting.
To keep the thread clear I'll attempt to provide a short outline a few ways in this question, and leave the details for the answers. (@anyone with editing privileges: feel free to update the section below if I missed something important and am slow in editing this question)
---------------------------------------------------------------------------------------------------
GUIDE
GUIDE is probably the first tool new users will encounter. It is very useful for quickly putting something together, but it is otherwise fairly limited. It requires maintaining (and distributing) both a .m and a .fig file. Note that the GUIDE environment will be removed in a future release. After GUIDE is removed, existing GUIDE apps will continue to run in Matlab but they will not be editable in GUIDE. If you're starting a new GUI, don't use GUIDE. If you're updating an existing GUIDE GUI, migrate it to AppDesigner. In R2021a the first step for this removal was taken: all templates except the blank template have been removed.
GUILT
Although I haven't had a detailed look myself, it seems a list like this is not complete without at least mentioning the GUI Layout Toolbox, which is available on the file exchange and offers a lot of customization options.
Programmatic GUIs
You can bypass GUIDE and use the normal figures and functions like uicontrol to build GUIs from code. This makes the design less visual, but more flexible for future additions.
App Designer
The official successor to GUIDE, AppDesigner is not based on functions, but works similar to a class. It uses uifigure and mostly uses graphical elements that are incompatible with 'normal' GUIs that are created with a figure (or .fig).
Rik
Rik
最後のアクティビティ: 2024 年 1 月 17 日

This is the 5th installment of the wish-list and bug report thread.
This topic is the follow on to the first Wish-list for MATLAB Answer sections and second MATLAB Answers Wish-list #2 (and bug reports). The third started out as New design of the forum - grey on white and the fourth MATLAB Answers Wish-list #4 (and bug reports) is also growing so large it is slow to load and navigate.
Same idea as the previous ones: one wish (or bug report) per answer, so that people can vote their wishes.
What should you post where?
Wishlist threads (#1 #2 #3 #4 #5 #6): bugs and feature requests for Matlab Answers
Frustation threads (#1 #2): frustations about usage and capabilities of Matlab itself
Missing feature threads (#1 #2): features that you whish Matlab would have had
Next Gen threads (#1): features that would break compatibility with previous versions, but would be nice to have
@anyone posting a new thread when the last one gets too large (about 50 answers seems a reasonable limit per thread), please update this list in all last threads. (if you don't have editing privileges, just post a comment asking someone to do the edit)
Jann B
Jann B
最後のアクティビティ: 2022 年 9 月 18 日

Dear Sir or Madam
I tried to solve the cody-problem namend in the title.
Could you pleas tell me how I should name the vektor/variable in which it should be presentet?
Thank you for helping me.
Yours faithfully
Jann Borlinghaus
Dear MATLAB community,
How can I help my close friend who's bad at math and programming learn MATLAB?
He's a final year chemical engineering student who struggles even to plot two functions on the same graph in his computational fluid dynamics class (there was no prereq for matlab skills).
In his first year, I saw him get dragged through the introductory engineering classes which was his first encounter with MATLAB. Students were taught a few rudimentary programming skills and then were expected to make a code for a 'simple' tic-tac-toe game. It took him hours of blank looks and tutoring to even understand the simplest of boolean operators. He was never able to write a working function without the supervision of a friend or tutor. Needless to say, he was permanently scarred by the experience and swore to avoid using it forever.
After 3 years of avoiding MATLAB, he realised how not knowing it hurt him during his final year project. He had to solve a system of pdes to model the performance of a reactor and practically speaking, MATLAB was the most suitable software at hand. He ended up having to get a friend to help him code the equations in while also having to oversimplify his model.
The weird thing is that: most students from his chemical engineering faculty were not expected or encouraged to use MATLAB, almost all of their prior assignments required no use of MATLAB except that infamous first year course, and most of his peers also avoided using MATLAB and resorted to Excel. It is my understanding that Excel cannot match MATLAB's efficiency and clarity when solving calculus problems so it was not uncommon to see extremely long Excel spreadsheets.
Anyway, my friend is, with the help of a friend's past year MATLAB codes, trying to finish up his computational fluid dynamics assignment that's due soon. He finishes university in 2 weeks time.
Even though he knows that not every engineer has to use MATLAB in the workplace, he somehow wishes he was able to learn MATLAB at his glacial pace. I find it such a pity that he was never able to keep up with the pace of learning that was expected which begs the question: are students who are too slow at learning programming better of in a different field of study?
If you've managed to read to the end of this, thank you so much. I just don't know how to help my friend and I'm hoping some of you might be able to suggest how I can help him be better at it. I believe he has potential but needs special help when it comes to MATLAB.
All helpful and constructive suggestions considered,
Thank You All
Michael Eldredge
Michael Eldredge
最後のアクティビティ: 2017 年 12 月 3 日

I wrote a Cody problem, but I want to prevent people from using tricks to get a false "best" solution.
For example, many people do something like the following:
regexp '' '(?@"CODE HERE)';
in order to get the size of their program down to something quite small. I want to prevent this. I have seen people using some weird tests to try to block this, but I don't know how they work and when I try to copy them they fail.
Axel Nordin Fürdös
Axel Nordin Fürdös
最後のアクティビティ: 2020 年 12 月 26 日

Hi there! This is kind of an unusual question, but here it goes. I am a big time Matlab enthusiast and I met some of your representatives at Formula Student Germany back in August. There was a booth were your product was showcased but most importantly there was Matlab merchandise such as stickers, rub-on-tattoos and pens with the mathworks logo being handed out. This merchandise is increadibly popular with me and my nerdy friends. But sadly I didnt bring much with me from the event. Is it possible to get ahold some of it? Is it for sale? Are you willing to sponsor some geeky engineering students?

Alejandro Carabe-Fernandez
Alejandro Carabe-Fernandez
最後のアクティビティ: 2020 年 11 月 11 日

Would it make sense that, in order to enhance coding experience with practice exercises, each section of the Matlab Academy courses reference specific CODY problems related to that section so the CODY problems can be used in parallel with the structure of the Matlab Academy courses?