I finished watching all the videos in my spare time (I studied the Image Processing part at the end) Thank you very much, Prof. Kuo! Your course is very helpful for mastering matlab basically! ! You also helped me review courses such as linear algebra, C programming and computational methods. Because I figured out several vague knowledge points that I almost forgot. 晚生受益匪浅, 感激万分,祝郭教授工作顺利!❤️❤️❤️
@YanfuKuo10 күн бұрын
Thank you very much for your nice words. I am glad that I can do some help!
Thank you Dr. Kuo, your courses are so useful for people like me who have only limited background in coding.
@YanfuKuoАй бұрын
You are very welcome. It is my pleasure to help.
@xiaoer-nq3pkАй бұрын
Some functions has been updated How can i see the newest tutorial?
@YanfuKuoАй бұрын
I am fading out from Matlab and moving to Python. I probably will not record new videos of Matlab. You can always check the help on the official Matlab webpages though.
@xiaoer-nq3pkАй бұрын
@@YanfuKuo Alright, I understand. Thank you,for the course. It has been a great help to me.
@奕丞2 ай бұрын
感謝老師的系列教學,真的幫助很多 想請問(33:34) 我在command window輸入cftool 卻出現Unrecognized function or variable 'cftool' 是少install什麼還是缺了什麼嗎
s1 = 'I like the letter E'; s2 = s1(end:-1:1); disp(s2);
@JamesLiu-c1u3 ай бұрын
function convertTemperature() while true tempF = input('Enter a temperature in degrees Fahrenheit: ', 's'); if isempty(tempF) break; end tempF = str2double(tempF); tempC = (tempF - 32) * 5/9; disp(['The equivalent temperature in degrees Celsius is: ', num2str(tempC)]); end end
%colormap %R G B %0 n 0 (green family) %n can be any number between 0 and 255 x = [1:10; 3:12; 5:14]; imagesc(x); colorbar; map = zeros(256,3); map(:,2) = (0:255)/255; colormap(map);
@SunRooong8 ай бұрын
%wait sign: t = (0:1/4:1)'*2*pi; x = cos(t); y = sin(t); p = fill(x,y,'y'); text(0,0,'WAIT','Color', 'k', 'FontSize', 80, 'FontWeight','bold', 'HorizontalAlignment', 'center');
@citeaswaggy9 ай бұрын
感謝教授
@吳晨禾-t6x9 ай бұрын
14:00 clear;clc; I=imread('rice.png'); for i = 1:size(I,1) for j = 1:size(I,2) if I(i,j)>128 binary(i,j)=1; else binary(i,j)=0; end J(i,j)=binary(i,j); end end subplot(1,3,1);imshow(I); subplot(1,3,2);imshow(J); for i = 1:size(I,1) for j = 1:size(I,2) if I(i,j)>172 binary(i,j)=1; else binary(i,j)=0; end K(i,j)=binary(i,j); end end subplot(1,3,3);imshow(K);
1:30:52 function C=Temp(~) F = input('請輸入華氏溫度:'); while isempty(F) == 0 C = (F-32).*(5/9); disp(['==>攝氏溫度為:' num2str(C)]); F = input('請輸入華氏溫度:'); if isempty(F) disp('程式已結束。'); end end
1:04:55那題在老師給的講義裡被修改成 1. Find the entries in matrix A that are negative. 2. Store these entries's position in a matrix B. 3. Change the values of these entries to zero. 在1、2小題我有找出為負數的值和這些值的位子,但我不知道該如何把這些位子指定給B矩陣,想請問各位電神能否提供一些參考解答? 謝謝。 以下是我目前的程式碼: A=[0,-1,4;9,-14,25;-34,49,64]; for n=1:size(A,1)*size(A,2) if A(n)<0 disp(A(n)) disp(n) A(n)=0; end end A
@ntulenxhuang10 ай бұрын
1:29:20 [Exercise 4] 華氏F轉攝氏C那題 ---------------------------------- while 1 F = input('華氏F為: '); if isempty(F) break else C = (F-32).*(5/9); disp(['攝氏C為: ',num2str(C)]); end end ----------------------------------- while 1 是沒直接enter就一直loop isempty是如果沒輸入直接就接著下面的break跳出 num2str是輸入數字返回字串
56:29 [Exercise 2] 要得出 2 8 32 128 512 那題的參考答案 ----------------------------------- % [方法1]先得出 2 0 8 0 32 0 128 0 512] 再刪掉0 for n = 1:2:10 a(n)=2^n end a(a==0) = [] ---------------------------------- % [方法2]直接改公式 for n = 1:5 a(n)=2^(2*n-1); end ---------------------------------- 自己在用的時候方法1 disp第一次沒問題,第二次會出問題,所以感覺用方法2比較好,目前還不清楚原因
@ntulenxhuang10 ай бұрын
43:50 [Exercise 1] 1+2+3+...+999那題目參考答案 ------------------------ sum = 0; n = 1; while n <= 999 sum = sum + n; n = n+1; end ------------------------- 結果會是 Name Value sum 499500
@massfree-pf4gr11 ай бұрын
A = [0 -1 4;9 -14 25;-34 49 64]; B=A; for n=1:9 a=(B(n)); if a<0 B(n)=0 end end 这是我的代码但是我发现每次他B中的负数被我替换的时候他都会出现一次完整的B这似乎需要更多的步骤来解决这个问题
@massfree-pf4gr11 ай бұрын
只需要在B(n)=0;并在末尾打印就好了
@Sean-zo5bx11 ай бұрын
感谢老师!超级棒的matlab视频
@张奉贤11 ай бұрын
谢谢老师
@吾心程11 ай бұрын
谢谢老师❤
@alexchen398311 ай бұрын
非常高水準的教學影片,內容豐富,表達淺顯易懂 感謝
@张奉贤11 ай бұрын
12:01 Exercise I=imread('test4.jpg');J=rgb2gray(I);imhist(J); level=graythresh(I);threshold=117; for i=1:size(I,1) for j=1:size(I,2) if J(i,j)>threshold; B(i,j)=1; else B(i,j)=0; end end end imshow(B);
@张奉贤11 ай бұрын
Exercise 27:50: t=1:0.02:2; f=t.^2; g=sin(2*pi*t); hold on plot(t,t.^2,'black',t,sin(2*pi*t),'or'); xlabel('Times(ms)'); ylabel('f(t)'); title('Mini Assignment#1'); legend('t^{2}','sin(2\pit)');
@张奉贤 Жыл бұрын
Exercise at time 1:04:55: A=[0 -1 4;9 -14 25;-34 49 64]; for c=1:9; if A(c)<0 A(c)=1; end end disp(A)
@张奉贤 Жыл бұрын
Exercis at time 43:57: n=1;sum=1; while n<999 n=n+1; sum=sum+n; end disp(sum)