how can you run this textscan code?
이전 댓글 표시
Create an m-file script that uses textscan to extract the impedance values for electrodes 1-96 from the text file “impedances.txt”. Remove all impedances greater than 1000 and then generate a 10-bin histogram plot of these values. Provide the appropriate axes labels and title. Set the x-axis range to 0-1000 and the y-axis range to 0-30. Create a text box that shows the mean and standard deviation of the impedances. Use sprintf to construct the string for this text box with the following format: „Mean impedance = ? +- ? (kOhm)?. Replace the ? characters with the mean and standard deviation values, respectively. Place this box in the center of the figure horizontally and directly above the plotted data. I know we need the impedances.txt file to do this problem. but can anyone so me the code steps to you. I can manage to put the .txt file myself.
댓글 수: 2
Jan
2011년 2월 21일
Is this your homework? Is MATLAB Answers a homework solver?
Walter Roberson
2011년 2월 21일
The code steps to follow are pretty much exactly as listed in the question. About the only thing you should need a hint on is that you will be using uicontrol()
답변 (1개)
Walter Roberson
2011년 2월 21일
1 개 추천
Other than to refer you to the textscan() documentation, we cannot do much unless you tell us about the format the impedance values are stored in.
카테고리
도움말 센터 및 File Exchange에서 Annotations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!