MATLAB Project: Tips, Guide & Concepts

  • Context: MATLAB 
  • Thread starter Thread starter needOfHelpCMath
  • Start date Start date
  • Tags Tags
    Matlab Project
Click For Summary

Discussion Overview

The discussion revolves around a MATLAB project where the original poster seeks assistance in understanding the project requirements, tips for execution, and guidance on using MATLAB for image processing and video creation. The scope includes programming concepts, technical implementation, and potential challenges faced during the project.

Discussion Character

  • Homework-related
  • Technical explanation

Main Points Raised

  • The original poster shares a code snippet intended for accessing and processing images using MATLAB, specifically mentioning the use of a for loop and the functions dicomread and imshow.
  • Some participants express difficulty in understanding the posted images and code, questioning the lack of prior work shown by the original poster.
  • The original poster apologizes for not providing sufficient context or work due to time constraints and attempts to clarify by linking to a project PDF.

Areas of Agreement / Disagreement

Participants do not appear to reach a consensus, as there are differing views on the adequacy of the original poster's submission and the clarity of the provided information.

Contextual Notes

There are limitations in the original poster's code snippet, including potential issues with the image handling and the use of undefined variables, which remain unaddressed in the discussion.

needOfHelpCMath
Messages
70
Reaction score
0
I have a project and i need some help to understand the concepts, what is it asking for, major tips, and guide me through the process of the project. The program I will be using to program will be MATLAB.https://blackboard.learn.fresnostat.../ECE72-01-74696-2167/Project 2 Directions.pdf
Code:
 // This is my for loop that i have to use to access my picture but unsure if it correct
           // THIS IS NOT FOR C++
srcFiles = dir('C:\Users\James\Documents\MATLAB\image');
for i = 1 : length(image)
  filename = image('',image(i).name);
  I = dicomread(filename);
  figure, imshow(I);
end
Code:
writerObj = VideoWriter(myAnimation, 'MPEG-4');
writerObj.FrameRate = 0.5;
open(writerObj);

a = imread('robot','jpg');
B=imresize(a,0.25);
figure(1)
imshow(B);

writeVideo(writeObj,'robot','jpg'); 

close(writeObj);
 

Attachments

Last edited:
Physics news on Phys.org
I, for one, cannot read those images.

You've posted an entire assignment without showing any work. What do you expect us to do?
 
Sorry for my bad images and not showing my work. I had class back to back had only 20 min passing period. I will tried resize the image show some of my work. :D
 
So I struggle trying put up the image so instead link the website to my pdf hopefully makes it better.
 

Similar threads

  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
31K