MATLAB17 Get Matlab Excel Data | xlsread function Get Matlab Excel Data | xlsread function When you conduct an experiment and process data with a matlab, sometimes you want to recall the data values in an Excel file right away. Let's briefly learn how to use the xlsread function by using the following example. First of all, the data obtained through the simulation program is recorded in the excel file as shown above. As you can see, the file li.. 2020. 9. 24. Using the Matlab 'for Statement' | Loop Statement Using the Matlab 'for Statement' | Loop Statement One of the most confusing things about using various computer languages is the 'for statement.' Each language has different forms, so I search every time I write it. I just wrote down for example, so I hope you can freely scrape and correct it. %% Setting a = zeros(1,10); % make that variable a is 1X10 matrix. %% for loop for i = 1:length(a) % i .. 2020. 9. 24. Using Matlab 'if Statement' | Assumption Statement Using Matlab 'if Statement' | Assumption Statement 'If statement' is confusing each time it is written because the rules vary depending on all programming languages. I'll leave you an example for the matlab, so if you don't remember, it'll be convenient to scratch it quickly and correct it. %% if-Statement Example Code if a == b display('a and b are same') elseif a > b display('a is bigger than .. 2020. 9. 24. Matlab Graph Axis Tick | Plot Advanced Edit1 Matlab Graph Axis Tick | Plot Advanced Edit1 When you draw a graph, the x-axis value or y-axis value is sometimes expressed in a way that you don't like. For example, suppose you have the following graph. The x-axis data is marked 'x10^4.' It is not easy to understand them at a glance. Similarly, the y-axis is also marked 'x10^-3' and is not satisfactory. Therefore, we want to attach k to the x-.. 2020. 9. 24. 이전 1 2 3 4 5 다음 반응형