2024實驗室簡介
3:47
6 ай бұрын
2024拉花2
0:14
9 ай бұрын
2024 YouTube Channel Trailer
0:36
2020實驗室簡介
5:30
Жыл бұрын
2021實驗室簡介
5:38
Жыл бұрын
2022實驗室簡介
12:50
Жыл бұрын
2023實驗室簡介
14:58
Жыл бұрын
Пікірлер
@KesongJv
@KesongJv 11 күн бұрын
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. 晚生受益匪浅, 感激万分,祝郭教授工作顺利!❤️❤️❤️
@YanfuKuo
@YanfuKuo 10 күн бұрын
Thank you very much for your nice words. I am glad that I can do some help!
@hongLee-o7p
@hongLee-o7p 20 күн бұрын
感謝郭教授
@shawngaul6389
@shawngaul6389 20 күн бұрын
大陆的学生在B站看了老师视频,特此来到老师频道下面感谢老师❤
@YanfuKuo
@YanfuKuo 16 күн бұрын
能幫助到大家是我的榮幸!
@Eighteen258
@Eighteen258 22 күн бұрын
刚才在看这一期视频的时候发现今天刚好是视频发布十月八号。有谁会想到,在视频发布的九年后,在海峡的对岸,有人正在图书馆里看着这个视频学matlab,有种很奇妙的感觉,缘分妙不可言!感谢郭老师的的辛苦教学!😄
@YanfuKuo
@YanfuKuo 16 күн бұрын
哈哈,謝謝。
@ctxu1736
@ctxu1736 Ай бұрын
Thank you Dr. Kuo, your courses are so useful for people like me who have only limited background in coding.
@YanfuKuo
@YanfuKuo Ай бұрын
You are very welcome. It is my pleasure to help.
@xiaoer-nq3pk
@xiaoer-nq3pk Ай бұрын
Some functions has been updated How can i see the newest tutorial?
@YanfuKuo
@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
@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什麼還是缺了什麼嗎
@YanfuKuo
@YanfuKuo Ай бұрын
應該是你安裝的版本,沒有cftool。有些toolbox要另外購買,沒有內建。
@奕丞
@奕丞 Ай бұрын
@@YanfuKuo 很感謝老師來回覆問題 研究所開學前花了大概十天補完全部的課 再來就是自己以後如何運用了
@奕丞
@奕丞 2 ай бұрын
感謝老師非常有幫助的系列教學 想請問關於slide 14(37:30) 看到有人留言使用 I = inv(A)*b; 求解,可以執行 但我自己改成 I = A\b; 也可以執行但答案似乎不一樣 請問差別或問題在哪? 既然問題已經複雜到無法用手算,如何確認得到的答案是否正確
@YanfuKuo
@YanfuKuo Ай бұрын
兩者的計算方法不同,要爬一下Matlab的說明檔,在這裡有: www.mathworks.com/help/matlab/ref/inv.html 主要是數值運算的算法不同,依照Matlab官方網站解說,"\"是比較推薦的方式。
@Chia-ChiLin-m4s
@Chia-ChiLin-m4s 3 ай бұрын
教授您好 1.想請問投影片page 17 exercise h = bar(1:5, [G' S' B']); 是甚麼樣的矩陣呢? 因為看不太懂 set FaceColor for h(1) set h(2) set h(3) 的意義 謝謝教授!
@YanfuKuo
@YanfuKuo 2 ай бұрын
[G' S' B'] 是把G、S、B轉置後,合成一個矩陣,所以是一個5X3的矩陣。
@roachhsiao
@roachhsiao 3 ай бұрын
殘奶太多
@YanfuKuo
@YanfuKuo 3 ай бұрын
我業餘的啦😅 謝謝指教!
@謝先睿
@謝先睿 3 ай бұрын
想問一夏39:04的程式碼複製到matlab怎麼不能用
@YanfuKuo
@YanfuKuo 3 ай бұрын
可能是改版的關係。錄影是8年前的,很多函示已經更新。如果是structure的問題,建議可參考: www.mathworks.com/help/matlab/ref/struct.html
@haotian_wu
@haotian_wu 3 ай бұрын
18:41 clc;close;clear; TC = [0.025 0.035 0.050 0.060 0.080]; TE = [20 30 40 50 60]; regress_fit = polyfit(TC,TE,1); xfit = linspace(TC(1),TC(end),200); yfit = regress_fit(1)*xfit+regress_fit(2); figure('Position',[100,100,800,600]) plot(TE,TC,'ko',yfit,xfit,'r','LineWidth',2) legend('data point','regress-fit',... 'Location','northwest','fontsize',25) title('Calibration of TC','FontSize',15) set(gca,'xtick',20:10:60,'XLim',[20 60]) axis manual grid on xlabel('Temperature(^\circC)','FontSize',15) ylabel('TC output(mV)','FontSize',15)
@haotian_wu
@haotian_wu 3 ай бұрын
20:58 clc;close;clear; data = [1 3 5 5 5 5 7 9 9 9 10 13 14]; x = zeros(1,max(data)) ; for i = 1:length(data) x(data(i)) = x(data(i))+1; end figure('Position',[100 100 800 600]) subplot(1,3,1) a = bar(x,'cyan','stacked'); set(gca,"FontSize",18) xtickangle(0); subplot(1,3,2) b = area(x); subplot(1,3,3) c = stem(x);
@HuihuiHan-f9d
@HuihuiHan-f9d 3 ай бұрын
slide8 應該是A=LU。在MATLAB2020b中調用lu函數,返回的L和U做inv(L)*U運算得到的結果并不是A,而是[ 4 6 8; -1 -2 -3; -2 -3 -3 ]。而L*U的結果才是A
@JamesLiu-c1u
@JamesLiu-c1u 3 ай бұрын
s1 = 'I like the letter E'; s2 = s1(end:-1:1); disp(s2);
@JamesLiu-c1u
@JamesLiu-c1u 3 ай бұрын
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
@JamesLiu-c1u
@JamesLiu-c1u 3 ай бұрын
n=1; s=0; while n<1000 s=s+n; n=n+1; end disp(s)
@Ming-m8e
@Ming-m8e 3 ай бұрын
Exercise: 21:20 22:04 30:01 46:32 1:16:42 1:21:09
@Ming-m8e
@Ming-m8e 4 ай бұрын
Exercise: 1:03:25 1:29:17
@陳柏年-n8g
@陳柏年-n8g 6 ай бұрын
老師教學淺顯易懂,複習還是受益良多 另外提供AVRDUDESS 2.17 的Programer選項已經改變 -c arduino_as_isp -p m328p -P COM3 -b 115200 -F -F -U baudRate選擇跟ArduinoISP一樣
@SunRooong
@SunRooong 6 ай бұрын
Simpson's rule就是把它换成二次曲线近似
@SunRooong
@SunRooong 6 ай бұрын
f = imread('tire.tif'); subplot(2,2,1) imshow(f) subplot(2,2,2) imhist(f) [m,n] = size(f); f1 = im2uint8(ones(m,n)); %得到输入图像的直方图h h = imhist(f); l = length(h); %概率密度PDF PDF = h/numel(f); %分布函数CDF CDF = cumsum(PDF); %取整扩展,得到均衡化之后的灰度分布直方图 j = CDF.*256; %由于灰度级数为1-256之间的整数,故需对扩展之后的灰度灰度级数取整才有意义, %得到的J矩阵为1X256大小,表示扩展之前的灰度级数,其中每个级数对应元素的 %值为该灰度级数扩展后的灰度级数值。如J(3)=24,表示原始灰度直方图为3灰度值 %的地方经灰度扩展后其灰度值为24 J = round(j); %将扩展后的灰度级数对应映射到图片中 for i=1:l %l=256 nn = find(J==i);%找出扩展后的灰度级数对应的扩展前的灰度级数 L = length(nn); for k=1:L nn1 = find(f==(nn(k)-1));%再找到扩展前的灰度级数对应的像素点, f1(nn1)=i; %并将像素点对应灰度值值置为扩展后的灰度值 end end subplot(2,2,3) imshow(f1) subplot(2,2,4) imhist(f1)
@SunRooong
@SunRooong 7 ай бұрын
现在用app designer会更加方便了
@YanfuKuo
@YanfuKuo 7 ай бұрын
確實! 可惜我沒有時間錄影,不然應該要更新。謝謝提醒。
@ellen128
@ellen128 8 ай бұрын
老师讲得太棒了,非常清楚和有条理!!!太受益了👍👍👍
@ellen128
@ellen128 8 ай бұрын
老师讲得太棒了!!!一直不懂为什么自己编程学不好,现在觉得似乎是跟没有碰到一个好老师有很大关系。有幸在网上能遇到这么好的老师。感谢!!!!!
@SunRooong
@SunRooong 8 ай бұрын
%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);
@SunRooong
@SunRooong 8 ай бұрын
%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');
@citeaswaggy
@citeaswaggy 9 ай бұрын
感謝教授
@吳晨禾-t6x
@吳晨禾-t6x 9 ай бұрын
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);
@吳晨禾-t6x
@吳晨禾-t6x 9 ай бұрын
25:35~25:45這一段為何被剪掉了?請問對接下來的學習會有影響嗎?
@YanfuKuo
@YanfuKuo 8 ай бұрын
我看了一下,似乎沒有特別甚麼被剪掉的片段。我不確定你說的是什麼問題。
@吳晨禾-t6x
@吳晨禾-t6x 8 ай бұрын
@@YanfuKuo 在25:40左右本來要執行這個程式,但此時老師說我必須要...話還沒說完就跳到下一個主題了
@Pandaaaaaaaaaaaaaaaaaa
@Pandaaaaaaaaaaaaaaaaaa 9 ай бұрын
@YanfuKuo
@YanfuKuo 7 ай бұрын
Hi
@denise__16
@denise__16 9 ай бұрын
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
@shanefu816
@shanefu816 9 ай бұрын
謝謝教授🙏
@楊詠量
@楊詠量 9 ай бұрын
老師好,ppt第3頁,matlab上打 syms x,卻跳出我沒有按照syms格式打的指示,請問老師我有打錯嗎
@YanfuKuo
@YanfuKuo 9 ай бұрын
Matlab 會一直更新函式的用法。我剛剛查了一下,syms似乎沒有更新,我不確定問題在哪裡。可以查一些官方的說明,拉到最後有範例,比較直覺。 www.mathworks.com/help/symbolic/syms.html
@吳晨禾-t6x
@吳晨禾-t6x 10 ай бұрын
23:00 s1='I like the letter E' for n=1:length(s1) s2(n)=s1(length(s1)-(n-1)); end s2
@吳晨禾-t6x
@吳晨禾-t6x 10 ай бұрын
請問老師,為什麼1:26:26的函數中,9.8和t之間不需要用點乘?
@YanfuKuo
@YanfuKuo 10 ай бұрын
9.8是一個實數,t則是一個向量。在數學規則中,實數乘向量,就是將實數乘向量中的每一個元素,所以本來就是元素相乘,那就不用點乘(元素相乘)。
@吳晨禾-t6x
@吳晨禾-t6x 10 ай бұрын
@@YanfuKuo 了解,謝謝老師
@吳晨禾-t6x
@吳晨禾-t6x 10 ай бұрын
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
@ntulenxhuang
@ntulenxhuang 10 ай бұрын
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是輸入數字返回字串
@ntulenxhuang
@ntulenxhuang 10 ай бұрын
1:04:39 [Exercise 3] [0 -1 4 ; 9 -14 25 ; -34 49 64]改成都正的數字在裡面 ------------------------ % [法1] A = [0 -1 4 ; 9 -14 25 ; -34 49 64]; B = abs(A) ------------------------- % [法2] A=[0 -1 4;9 -14 25;-34 49 64]; B=zeros(3,3); for i=1:3 for j=1:3 B(i,j)=abs(A(i,j)); end end -------------------------- 結果會是 [0 1 4 ; 9 14 25 ; 34 49 64]
@ntulenxhuang
@ntulenxhuang 10 ай бұрын
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比較好,目前還不清楚原因
@ntulenxhuang
@ntulenxhuang 10 ай бұрын
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-pf4gr
@massfree-pf4gr 11 ай бұрын
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-pf4gr
@massfree-pf4gr 11 ай бұрын
只需要在B(n)=0;并在末尾打印就好了
@Sean-zo5bx
@Sean-zo5bx 11 ай бұрын
感谢老师!超级棒的matlab视频
@张奉贤
@张奉贤 11 ай бұрын
谢谢老师
@吾心程
@吾心程 11 ай бұрын
谢谢老师❤
@alexchen3983
@alexchen3983 11 ай бұрын
非常高水準的教學影片,內容豐富,表達淺顯易懂 感謝
@张奉贤
@张奉贤 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)