![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/22659287_1677700929648.jpg)
DUY Nguyen
Followers: 0 Following: 0
An automation robotics engineer who develops intelligent and sustainable solutions. A motivated graduate student willing to leverage knowledge and transfer it to other people following the "Pay it forward" motto
Programming Languages:
Python, C++, C, C#, MATLAB
Spoken Languages:
English
Pronouns:
He/him
Python, C++, C, C#, MATLAB
Spoken Languages:
English
Pronouns:
He/him
統計
All
ランク
of 157,776
コントリビューション
0 問題
0 解答
スコア
0
バッジ数
0
コントリビューション
0 投稿
コントリビューション
0 パブリック チャネル
平均評価
コントリビューション
0 ハイライト
平均いいねの数
Feeds
回答済み
Using Matlab Plot the function f(x)= e^x and the Maclaurin’s series expansion Using 6 terms, 8 terms and 10 terms
You can check this! % Define the function and its Maclaurin series expansion f = @(x) exp(x); m6 = @(x) 1 + x + x.^2/2 + x.^...
Using Matlab Plot the function f(x)= e^x and the Maclaurin’s series expansion Using 6 terms, 8 terms and 10 terms
You can check this! % Define the function and its Maclaurin series expansion f = @(x) exp(x); m6 = @(x) 1 + x + x.^2/2 + x.^...
2年弱 前 | 0
回答済み
finding the axis for least moment of inertia of an object in 2D binary image
Hi, Firstly, you invert the image. Then you can calculate the principal axis passing through the centroid by this eq: tan(2θ) ...
finding the axis for least moment of inertia of an object in 2D binary image
Hi, Firstly, you invert the image. Then you can calculate the principal axis passing through the centroid by this eq: tan(2θ) ...
2年弱 前 | 0
| 採用済み
回答済み
How to on/off a variable after 3 seconds interval
Hi ismat, You could use timer for more precise control of the LED. However, for simple application, you can use pause() in Ma...
How to on/off a variable after 3 seconds interval
Hi ismat, You could use timer for more precise control of the LED. However, for simple application, you can use pause() in Ma...
2年弱 前 | 0
| 採用済み
回答済み
Change pixels to mm in axes
Hi Eliska, you can try this code: % Load image I = imread('your_image.bmp'); % Define conversion factor conversion_factor = ...
Change pixels to mm in axes
Hi Eliska, you can try this code: % Load image I = imread('your_image.bmp'); % Define conversion factor conversion_factor = ...
2年弱 前 | 0
回答済み
Sudden error when exporting with 'writecell' in MATLAB
Hi, Maybe you should try another Matlab function such as xlswrite to see what happens cell = {'Data1', 'Data2', 'Data3'; 1, 2,...
Sudden error when exporting with 'writecell' in MATLAB
Hi, Maybe you should try another Matlab function such as xlswrite to see what happens cell = {'Data1', 'Data2', 'Data3'; 1, 2,...
2年弱 前 | 0
回答済み
How to solve differential equation with variable in differential term?
Hi @Tien Ching Ma, You could try to define a new variable u = r + eps ( where eps is a small positive number close to zero, sho...
How to solve differential equation with variable in differential term?
Hi @Tien Ching Ma, You could try to define a new variable u = r + eps ( where eps is a small positive number close to zero, sho...
2年弱 前 | 0
回答済み
How to save app.UITable as image (.png for example)
Hi Dominique, You can take a screenshot of the figure using the getframe function. Then, you can save the screenshot as a PNG f...
How to save app.UITable as image (.png for example)
Hi Dominique, You can take a screenshot of the figure using the getframe function. Then, you can save the screenshot as a PNG f...
2年弱 前 | 0
| 採用済み
回答済み
Connect ESP8622 directly
Hi Andrea, I think Simulink support package can support ESP8266 when it is used with an Arduino board. However, it does not men...
Connect ESP8622 directly
Hi Andrea, I think Simulink support package can support ESP8266 when it is used with an Arduino board. However, it does not men...
2年弱 前 | 0
回答済み
find the closest datetime
Hi Luis, You may check your datetime data again. You can have a look at the code below! % Create some sample datetime points ...
find the closest datetime
Hi Luis, You may check your datetime data again. You can have a look at the code below! % Create some sample datetime points ...
2年弱 前 | 0
回答済み
How to iterate an if statement condition and store values in separate columns
Hi, You can try something like this! Esim will have three columns of data for each n_tot(i) Qsim = Cd.*Asim.*sqrt(2*g*(Fsim-...
How to iterate an if statement condition and store values in separate columns
Hi, You can try something like this! Esim will have three columns of data for each n_tot(i) Qsim = Cd.*Asim.*sqrt(2*g*(Fsim-...
2年弱 前 | 0
回答済み
How can I use the output value from the first simulation reactor as init value of a second reactor simulation block in Simulink?
Hi Raul, it's not an optimal solution but you can add To Workspace block, and From Workspace block in between. In the first rea...
How can I use the output value from the first simulation reactor as init value of a second reactor simulation block in Simulink?
Hi Raul, it's not an optimal solution but you can add To Workspace block, and From Workspace block in between. In the first rea...
2年弱 前 | 1
回答済み
how can I save the output data of each run in new row ?
Hi, You can initialize an empty matrix with the desired number of rows and columns, and then use indexing to add each set of ou...
how can I save the output data of each run in new row ?
Hi, You can initialize an empty matrix with the desired number of rows and columns, and then use indexing to add each set of ou...
2年弱 前 | 0
| 採用済み
回答済み
how to run operation row by row. Ex row(n) divide row(n+1)
Hi, in this modified code, I added a prev_I variable to store the previous value of I. After computing I, we compute the ratio a...
how to run operation row by row. Ex row(n) divide row(n+1)
Hi, in this modified code, I added a prev_I variable to store the previous value of I. After computing I, we compute the ratio a...
2年弱 前 | 0
| 採用済み
回答済み
Hello, how can I calculate the row and column by inserting a 3D matrix using this equation,, so that the input 3D matrix and output 2D matrix
Hi, you mean that with your given function, we need to calculate the factor for 3D matrix right? % Define the input 3D ma...
Hello, how can I calculate the row and column by inserting a 3D matrix using this equation,, so that the input 3D matrix and output 2D matrix
Hi, you mean that with your given function, we need to calculate the factor for 3D matrix right? % Define the input 3D ma...
2年弱 前 | 0
回答済み
Cannot execute the "nexttile" function.
Hi, I run the above code normally. "Make sure to keep the tiled layout axes open and active before calling the nexttile function...
Cannot execute the "nexttile" function.
Hi, I run the above code normally. "Make sure to keep the tiled layout axes open and active before calling the nexttile function...
2年弱 前 | 0
回答済み
How can I run different Excel Macros buttons from MATLAB?
I found this with Chatgpt. You can try this: "Yes, it is possible to specify which button to click in an Excel file using MATLA...
How can I run different Excel Macros buttons from MATLAB?
I found this with Chatgpt. You can try this: "Yes, it is possible to specify which button to click in an Excel file using MATLA...
2年弱 前 | 0
回答済み
formulas and + or - a percentage
Hi, Hope this could help you % Load the V0 variable load('V0.mat'); % assuming the file is in the current directory % Calc...
formulas and + or - a percentage
Hi, Hope this could help you % Load the V0 variable load('V0.mat'); % assuming the file is in the current directory % Calc...
2年弱 前 | 0
回答済み
loop problem with time delay
Hi Hayden, Hope this code below could help you! for i = 1:10 if (i==1) fprintf('Man, I am getting older and wiser b...
loop problem with time delay
Hi Hayden, Hope this code below could help you! for i = 1:10 if (i==1) fprintf('Man, I am getting older and wiser b...
2年弱 前 | 0
回答済み
How to plot the Unit Step response of a transfer function?
%Hope this could help you! % Define the transfer function num = [10 120 660 2280 4730 4600 1600]; den = [1 14 113 628 237...
How to plot the Unit Step response of a transfer function?
%Hope this could help you! % Define the transfer function num = [10 120 660 2280 4730 4600 1600]; den = [1 14 113 628 237...
2年弱 前 | 0
| 採用済み