Main Content

Results for

A common question you may have when integrating MATLAB Grader into your LMS using the LTI standard is what information is being sent to MATLAB Grader from your LMS?

First, please familiarize yourself with the LTI specification on the IMS Global website: http://www.imsglobal.org/specs/ltiv1p1/implementation-guide

Next, take a look at the documentation we provide on LMS integration that is specific to your platform/vendor: https://www.mathworks.com/help/matlabgrader/lms-integration.html

MathWorks does not require personally identifiable information. More specifically, here are the standard LTI fields that we DO NOT want nor collect, as opposed to what fields we DO collect.

We do NOT want your LMS to send us: - user_image - lis_person_name_given - lis_person_name_family - lis_person_name_full - lis_person_contact_email

We DO require from your LMS: - roles

The other LTI fields listed in the specification are not related to personally identifiable information, and may be required for the LTI session to be launched successfully. For further questions about what is contained in the LTI specification, please refer to the specification and implementation guide provided by IMS, or contact the vendor of your LMS.

If a large number of fair N-sided dice are rolled, the average of the simulated rolls is likely to be close to the mean of 1,2,...N i.e. the expected value of one die. For example, the expected value of a 6-sided die is 3.5.
Given N, simulate 1e8 N-sided dice rolls by creating a vector of 1e8 uniformly distributed random integers. Return the difference between the mean of this vector and the mean of integers from 1 to N.
function dice_diff = loln(N)
A=randi([1,N],1e8,1)
M=mean(A)
B=1:N
m=mean(B)
dice_diff =abs(M-m);
end
Here is my code, but it can't work out as it needs too long time to creat A.

can anyone advise which Matlab code I can add to the below codes to have Spectrogram Plot?

OptimalValuesx1y1z1 = [dataArray{1:end-1}];
%% Clear temporary variables
clearvars filename delimiter formatSpec fileID dataArray ans;
re=1;
fs=20e3/re;
datatable=OptimalValuesx1y1z1;
datatable=resample(OptimalValuesx1y1z1,1,re);
%datatable=lowpass(OptimalValuesx1y1z1,10,fs);
datatable(:,2)=datatable(:,2).*0.01;
figure
t=1/fs:1/fs:length(datatable)/fs;
plot(t, rms(datatable(:,2:4)*9.81,3));
ylim([0 10])  
xlim([0 10])
%ylim([0 1])
hold on
%plot(t,ones(1,length(datatable(:,2:4)*9.81))*12,'r--')
xlabel('Time [s]')
ylabel('Amplitude [m/s^2]')
legend('axis X','axis Y','axis Z','limit')
out_mean = mean(rms(datatable(:,2:4),3))
std_mean = std(rms(datatable(:,2:4),3))
% %PSD analysis
figure
x=datatable(:,2:4)*9.81;
nbar = 4;
sll = -30;
win = taylorwin(length(x),nbar,sll);
periodogram(x,win,[],fs);
xlim([0 1.624])
legend('axis X','axis Y','axis Z')

plz tell me the web site where i can easily install mathlab.

I want to use the Image fusions and deep neural network to detect the Corona-virus (COVID-19)

Hello, I want to generate Sinusoidal PWM for 3 level inverter. But I can not finding the way of connect these blocks togather. Is it possible to conenct them? Is there any other way to generate SPWM in simulink?

Hello everyone! I'm trying to find an optimal placement for a recloser using the optimization toolbox. The best place to set a recloser is defined by minimal SAIFI (system average interruption frequency index) value. I've created a little function where Nt - total number of customers, G - are some weights characterizing power lines, Xi - number of interrupted customers (if interruption happens in i-th line AND it has a recloser in it), Mi - row of 1 and 0 (that genetic algorithm should use as a gene I guess...) Here's the code of function:

function [S] = SAIFI_sum (M)
Nt=270;
G = [1.1 1.2 1.3 1.4 1.5 1.6];
X = [270 30 220 180 60 70];
  for i=1:length(M)
      if  M(i)== 1
      N(i) = X(i);
  else
          N(i) = Nt;
      end
  end
  S = 0;
  for j=1:length(M)
      SAIFI(j) = N(j)*G(j);
      S = S + SAIFI(j);
  end
   S
end
As a result I have 51 same results: S = 297 and following message:
"Optimization running.
Objective function value: 297.0
Optimization terminated: average change in the fitness value less than options.FunctionTolerance".
I couldn't understand how to solve this problem.

Created and tested in the university classroom, the Introduction to MATLAB zyBook includes automated assessment using MATLAB Grader. Learn how to create custom MATLAB assignments using zyLabs and provide feedback.

Join this webinar running April 21st and 23rd

Here is a great video from Gartner in response to COVID-19 and trends they are seeing for schools transitioning to Distance Learning. We hope this is helpful! See here: Gartner Research

I organized in September 2019 a one-week workshop in a hybrid set-up (students could attend the workshop either on-site or fully on-line). Beyond the hybrid nature of the workshop, the workshop was "flipped": the workshop attendees had to study some handbook specifically written for the workshop, watch some short videos summarizing the main concepts and answer online quizzes. During the workshop, most of the time was spent on hands-on coding exercises and assignments, during which the workshop attendees had to apply the concepts presented in the handbook and videos.

All coding exercises and assignments were carried out with MATLAB Grader. The platform provided the same coding environment to all workshop attendees, irrespective of whether they attended the workshop on-site or remotely. Furthermore, by providing a coding template and rigorous assessment tests along each exercise, having all students converging to the right "solution" was painless. It allowed me, as a teacher, to entirely focus on helping the students in solving those exercises, which was extremely rewarding.

This teaching set-up, combined with smart IT solutions as e.g MATLAB Grader, favors deep student learning, since the students learn by doing (active learning) and are continuously supported by the teacher in their learning.

I will soon teach in another course along the same principles. The course was supposed to be given on-site only, but because of the outbreak of Covid-19, it will be given entirely online. Thanks to MATLAB Grader, the migration to a online set-up is straightforward.

In case you want to read more about some of my past efforts in the development and application of student-centred pedagogical approaches, you can read more about those at: https://www.chalmers.se/en/departments/physics/news/Pages/Teaching-the-algorithms-that-are-crucial-for-nuclear-reactor-modelling.aspx and https://www.chalmers.se/en/departments/physics/news/Pages/Online-educational-efforts-to-ensure-nuclear-safety.aspx

I will also be glad to answer questions and provide help to those of you who want to get started with online teaching.

Christophe

Hi, all friends,

I want to record the fraction of drug absorbed in each intestinal segment, so I define a set of parameters with rate rule like: AbFraction_Colon= ((PeffColon*2/organismRadiusColon+paracellularAbsorption*organismFluxMucosaSerosa/Colon)*Colon.DrugDissolved)*Colon/InitialDose The attached figure shows the simulation result that overall PK profile (purple) seems OK, but I don't know why the absorption fraction line (red) starts from value of 1. Does anyone know the cause?

By the way, I am using model modified from "generic PBPK model"

Thanks for comment.

This Coursera course teaches computer programming to those with little to no previous experience: https://www.coursera.org/learn/matlab

Your students might find this course a useful introduction to programming.

I took a course on Medical Image Processing from one of the instructors, Prof Mike Fitzpatrick, when I was a graduate student at Vanderbilt University a few decades ago. He's a great instructor who helped get me hooked on MATLAB for learning, teaching and researching!

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!

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.

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

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/

Hi, all friends

I am dealing with a confusing NCA result. As this result shows, AUC_infinity=0.8537 (μg*h/mL), DM=1 (mg). CL should be equal to DM/AUC_infinity but why is the calculated result 2.4491? There is no dimension along with value so I do not know if I ignore anything.

Does any one can handle with this situation? Thanks very much. I also post my used data (i.v.).

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.

Hi, all friends

If I define a parameter, like solubility with dimension of milligram/milliliter and I want to refer it in an reaction equation in dimension of millimole/liter, suppose I have define its molecularweight, could I input this parameter directly in equation with specified dimension?

Question: How to load a host of variants created through scripts to a sbproj file so that we can simulate and visualize them through the simbiology GUI.

Description : In a typical QSP workflow, we generate virtual patients by perturbing a set of parameters. These virtual patients are generated as variants by using "addvariant".

We end up with an array of variants saved as "variants.mat". This mat contains the list of ~3000 variants.

These variants are now to be simulated with different dose objects. This could be done with scripts but it would be ideal if we import these variants into the sbproj file and simulate via simbiology GUI for both purpose of troubleshooting and dosing.

Is there a way to do this?