Community Profile

# Luna

##### Last seen: 5일 전
250 2018 이후 총 참여 횟수

#### Luna's 배지

세부 정보 보기...

참여 게시물
보기 기준

질문

How to zip mat files if they are less than a certain size in a folder?
Hello Dear Community, I have a folder and I have a lot of mat files in it. Each mat file contains a struct with fields: nam...

8달 전 | 답변 수: 1 | 0

### 1

답변

답변 있음
how to extract specific numbers from string?
Hello Lola, You can convert to datetime object and use the properties like below: mdate = '19800101'; tmp_date = date...

8달 전 | 0

| 수락됨

답변 있음
Please how i can set the indexes of a vector or matrix in Matlab (exactly like the function set index in python)
Hello, I wrote some codes for you and I am going to share some links so that you can read in documentation and it will help. ...

8달 전 | 1

| 수락됨

답변 있음
solving Linear differential equation
Hi there! There are 2 ways of doing this. It depends on your B vector according to Ax = B equation system. Your solutions below...

8달 전 | 0

질문

How to change Heatmap's Grid (Edge) appereance and behavior?
Hi Dear Community, Today I'm dealing with a heatmap chart to make it look visually beautiful as much as possible. Here below I...

8달 전 | 답변 수: 1 | 0

### 1

답변

답변 있음
How to extract data from .mat file that contains table

8달 전 | 0

| 수락됨

답변 있음
Double sum with upper limits
Maybe something like that would help: d = rand(67,120); sum_of_cos_s = 0; result = 0; for s = 1:67 for j = 1:120 ...

8달 전 | 0

답변 있음
Programmatically testing whether a variable is an optimoptions object
Hi, Maybe something like this helps? metaClass = metaclass(opts1); if contains(metaClass.Name,'optim.options') disp('Thi...

8달 전 | 0

답변 있음
Use of MatLab Licence
As far as I know if you have "Software Maintenance Service(SMS)" you can.

9달 전 | 0

답변 있음
Have you checked the below links? Create Excel Add-Ins Create an Excel App from Matlab Code

9달 전 | 0

답변 있음
how to find out distance between two points.
Here you can use this: NodeNumbersMatrix = [... 2 1 3 2 4 3 5 2 6 2 7 3 8 3 9 ...

9달 전 | 1

질문

How to get missing functions in Matlab 2018b about table and timetable operations?
Hello dear community! I have just realized that the functions below listed do not exist in my Matlab 2018b version with all to...

9달 전 | 답변 수: 1 | 0

### 1

답변

답변 있음
Add specific date time column to every table inside a cell
Easiest and fastest way to do it using a cellfun and converting them to a timetable. Here is one line to do it all: NewCellAr...

9달 전 | 1

| 수락됨

답변 있음
Create a plot with a drop down menu in an App
I think you don't even need to define callback functions for your dropdowns. They are already properties of your app object. B...

9달 전 | 0

| 수락됨

질문

How to extract event start and finish indices by finding rising edges and falling edges of an array?
Hi dear community, I have a state array doesn't matter what value inside it but for example I only want to find array == 6 as ...

10달 전 | 답변 수: 1 | 0

### 1

답변

답변 있음
Hello! How can i make a condition run many times?
Basically, it can be done as follows with a while block: some_condition_to_be_fullfilled = 0; while some_condition_to_be_fu...

10달 전 | 0

답변 있음
Remove or Undo GridLayout with App Designer.
Hi, Go to Canvas Tab, remove the tick on the "Show Grid" box.

11달 전 | 0

답변 있음
Delete entire rows based on one condition
Hi, Try this: data = num2cell(randi(5000,240,7)); % sample random data in a cell array my_Table = cell2table(data); % conver...

11달 전 | 0

답변 있음
How to require a custom class type with addRequired?
Variable out is not defined in the function bar. Also bar is already a built-in function. Use another function name instead.

11달 전 | 0

답변 있음
unable to perform assignment because the left and right sides have a different number of elements.
Hi, It is because you defined dx = 3 as 1x1 double. Your function y_dot gives 2x1 double as result. So it is not possible to c...

11달 전 | 0

| 수락됨

답변 있음
Draw vertical lines on a plot
There is a built-in function for that. For vertical lines use xline and for horizonal lines use yline. Here is sample code: ...

11달 전 | 0

| 수락됨

답변 있음
Control Design without using s ”acker , place.
Basically you can check below link and videos how a state-space model created in Simulink. state space

11달 전 | 0

답변 있음
Mathematical symbols in matlab
Hi, Check this: how-to-insert-latex-equation-into-static-text-plot-in-gui You should be writing in latex format.

11달 전 | 0

| 수락됨

답변 있음
How can I classify data based on two columns??
Your error caused from the line for loop. You have 19 elements but m+1 will be 20. for m = 1:length(lines)-1 ... end Th...

11달 전 | 0

답변 있음
Strange histogram from point cloud
Basically, you can decrease Histogram's 'BinCounts' property or increase 'BinWidth' property. You can define them with 'Name',...

11달 전 | 0

답변 있음
how to plot wind rose plot?
Hi, Have you tried this function from FEX? wind-rose

11달 전 | 0

답변 있음
Matlab coding for equation below and output as matrix
Hi, Look at this piecewise function definition: piecewise

11달 전 | 0

답변 있음
How to find an exact sequence of values?
Try Loren's findpattern2. Here is link: findpattern create vector x numbers of ones and run findpattern2. e = ones(1,x); fo...

11달 전 | 0

| 수락됨

답변 있음
merge parts of arrays of cell array into matrix using loop
Try this: solution = repmat({rand(6,300)},1,6); cC0_ges = reshape(cell2mat(cellfun(@(x) x(1,1:20), solution,'uni',false))...

11달 전 | 0

| 수락됨

답변 있음
Trouble reading data from .mat file
Hi, Try this: fid = fopen('1.mat'); values = fread(fid); fclose(fid); It seems only file created 'MATLAB 5.0 MAT-file,...

11달 전 | 0