Still haven't found what you are looking for? Try the grouped search - now with a videos group.
最新活动 由 Hans Scharler
编辑于 2023-4-19
If you use MATLAB online, you might already know about the advanced search feature that groups your results into the top suggestions by type of result – such as examples functions or blocks. This release, there is a new group for video results: you can see an icon sized thumbnail and the video length all in the search box dialog.
![](https://www.mathworks.com/matlabcentral/discussions/uploaded_files/18319/image.png)
Try out all the search groups - you can even try it out in dark mode!
![](https://www.mathworks.com/matlabcentral/discussions/uploaded_files/18324/image.gif)
2 个评论
Explain this block of code and give the output
nyear = 1975;
if (mod(nyear, 400) == 0)
fprintf('%6u is a leap year', nyear)
elseif (mod(nyear,4) == 0) & (mod(nyear,100) ~= 0)
fprintf('%6u is a leap year', nyear)
else
fprintf('%6u is not a leap year', nyear