Community Profile

# Khanh

Actif depuis 2014

#### Content Feed

Afficher par

Question

Round down and Round up?
Hi everyone, I have two numbers and want to round up and round down them. minval = 0.4410 and maxval=0.8450 I want to...

plus de 8 ans il y a | 2 réponses | 0

### 2

réponses

A répondu
GUI how to display table data into figure
You have to set data for the table before retrieve it. [num,txt,raw]=xlsread('C:\Program Files\data_example.xls'); % Set...

plus de 8 ans il y a | 0

Question

How to make the location of legend do not interfere the axes?
Hi, Could someone know how to make the location of legend with 'NorthEastOutSide' do not interfere the axes? I mean when I us...

plus de 8 ans il y a | 1 réponse | 0

### 1

réponse

Question

How to plot 16 curves that are same y axis and different x axis on the same figure?
Hi everybody, As the title, has anybody experienced this matter? The 16 curves have different x axes. I've tried with the bot...

plus de 8 ans il y a | 1 réponse | 0

### 1

réponse

Question

Assign to cell elements with both string and number?
Hi , Could someone tell me how to assign to cell element with both string and number? For example with my simple code: ...

plus de 8 ans il y a | 1 réponse | 0

### 1

réponse

Question

How to find the tangent point of a fit curve that passes through a non tangent point?
Hi everyone, I have curve that fit to data read from .xlsx file. How can I determine the tangent line as the picture below? ...

plus de 8 ans il y a | 1 réponse | 0

### 0

réponse

Question

Delete rows that have the first same value and keep one row in matrix with 2 colums?
Hi everyone, I have an array: x=[0,0 ; 250,1050 ; 250,1051 ; 1173,3050 ; 1173 3150]. I don't know how to delete th...

plus de 8 ans il y a | 3 réponses | 0

### 3

réponses

Question

Help with store data in GUI when calling a function
Hi, I have a figure include two radio buttons and a push button. In this figure, I store all data in handles structure named ...

plus de 8 ans il y a | 1 réponse | 0

### 1

réponse

Question

Help: Table cannot edit in a programmatic GUI?
Hi everybody, Could someone tell me what's wrong with my code? I created a figure with a table in GUIDE and converted it to p...

plus de 8 ans il y a | 1 réponse | 0

### 1

réponse

Question

Help: Extrapolation with a nonlinear curve?
Hi everybody, I have two vectors: x=10^5*[1.1950 4.0436 7.5822 ] y=[2.3620 4.3620 6.3620] y=f(x) is a polynom...

plus de 8 ans il y a | 1 réponse | 0

### 0

réponse

Question

Help: if condition with evaluating multiple statements?
Hi everybody, My sample if condition have 3 expression. As the following code, how can I evaluate statement 2 and statement 3...

plus de 8 ans il y a | 1 réponse | 0

### 1

réponse

Question

HELP: How to save and get the results from fit?
Hi everyone, I have 21 fit curves y=f(x) by using fit function. I want to save these curves because I need to retrieve data f...

plus de 8 ans il y a | 1 réponse | 0

### 0

réponse

Question

How to use fzero and choose correctly initial guess?
Hi, May I know how to solve the following equation with fzero and get two numbers: -2 and +2. When I used the following c...

plus de 8 ans il y a | 1 réponse | 0

### 1

réponse

Question

How to get the intersection points of a line and a curve which was fit to data?
Hi, I have a line and a curve that was fit to a data. I also get Coefficients of Equation of the Curve, but don't know how to...

plus de 8 ans il y a | 1 réponse | 0

### 1

réponse

Question

How to determine equation of curves through points in a script?
Hi everyone, I have a lot of arrays of x-y coordinates of points which curves pass through. I want to determine the point of ...

plus de 8 ans il y a | 1 réponse | 0

### 0

réponse

Question

If condition with a cell include both number string and text string?
Hi everyone, I have a cell: mycell ={'text','-1','0','','textnumber01234','3123','0.111'} I'm trying using if condit...

plus de 8 ans il y a | 1 réponse | 0

### 1

réponse

Question

How to get parent name of a child GUI component?
Hi everybody, I have a figure with 'Name' property: 'My figure' and 'Tag' property: 'figure1'. In this figure, I have a pu...

plus de 8 ans il y a | 1 réponse | 0

### 1

réponse

Question

How to get directory of Document folder in a non-MATLAB computer when using a fully standalone application?
Hi, My fully standalone application prompts a message to choose where to save a file. When the message shows, the default fol...

plus de 8 ans il y a | 1 réponse | 1

### 1

réponse

Question

For-loop show an element which has format number different with others in an array?
Hi, Could someone explain a strange thing happend in my simple code? numwl='11'; chieuchimd='1'; dwl=str2double(ch...

plus de 8 ans il y a | 1 réponse | 0

### 1

réponse

Question

How to stop closing Excel in a programmatic GUI?
Hi, My programmatic GUI is used to enter data in an excel spread sheet (.xlsx extension). While users entering data in Ex...

plus de 8 ans il y a | 1 réponse | 0

### 1

réponse

Question

Help: Display a different layout when pushing a button in a GUI?
Hi all, I'm trying to write a programmatic GUI. It includes a push button and a edit text named "tab1" when it initializes. T...

plus de 8 ans il y a | 2 réponses | 0

### 2

réponses

Question

Can I set a figure maximum in GUI layout editor?
Hi all, Could someone please tell me how to set and display a figure at maximum size or full screen when it first open? Altho...

plus de 8 ans il y a | 1 réponse | 0

### 1

réponse

Question

Help: Pass data from seperate .m file to GUI .m file?
Hello everybody, I have a .m file (named file 1) generated from .fig file and a seperate .m file to calculate (named file 2)...

plus de 8 ans il y a | 1 réponse | 0

### 1

réponse

Question

Help: xlsread with dynamic range of rows?
Hi all, How can I read an excel with unlimited dynamic range of rows? Just stop at the row which has NaN values. I attached ...

plus de 8 ans il y a | 1 réponse | 0

### 1

réponse

Question

How to set a specified number of digits when exporting to excel?
Hi, I have an array a=[101.13123124,99.329040,201.329524,2094.302785]; Could someone tell me how to write the array ...

plus de 8 ans il y a | 2 réponses | 0

### 2

réponses

Question

How to write a vector to excel?
Hi, I have an array like this: a=0:100:500 I want to write its each element to each cell of excel. I know to do it the...

plus de 8 ans il y a | 1 réponse | 0

### 1

réponse

Question

How to export an array text which created by a string and numbers to excel?
Hi, I have a numeric array a=0:100:1000 I want to precede each element of the array with 'WL' and I will get a new array: ...

plus de 8 ans il y a | 1 réponse | 0

### 1

réponse

Question

How to return the values of variables in GUI
Hi all, I'm new to GUI and learning from GUI examples in MATLAB's help. When I type a variable in command window, it shows...

plus de 8 ans il y a | 2 réponses | 0

### 2

réponses

Question

How to enable the ruler in GUI?
Hi all, Could someone tell me how to enable the ruler in GUI. It is the same as the following picture. <</matlabcentral/...

plus de 8 ans il y a | 2 réponses | 0

### 2

réponses

Question

Help: Smooth a curve generated from a group of specified points
Hi, I have 2 vector of x, y coodinates of points x=[0 50 935 1870 1935 2805 3740 4675 5610 6545 6746 7480 7911 8415 8590 9...

plus de 8 ans il y a | 2 réponses | 0

réponses