Community Profile

photo

Khanh


Active since 2014

Statistics

  • First Review
  • Thankful Level 4
  • First Answer

View badges

Content Feed

View by

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...

9 years ago | 2 answers | 0

2

answers

Answered
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...

9 years ago | 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...

9 years ago | 1 answer | 0

1

answer

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...

9 years ago | 1 answer | 0

1

answer

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: ...

9 years ago | 1 answer | 0

1

answer

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? ...

9 years ago | 0 answers | 0

0

answers

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...

9 years ago | 3 answers | 0

3

answers

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 ...

9 years ago | 1 answer | 0

1

answer

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...

9 years ago | 1 answer | 0

1

answer

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...

9 years ago | 0 answers | 0

0

answers

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...

9 years ago | 1 answer | 0

1

answer

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...

9 years ago | 0 answers | 0

0

answers

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...

9 years ago | 1 answer | 0

1

answer

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...

9 years ago | 1 answer | 0

1

answer

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 ...

9 years ago | 0 answers | 0

0

answers

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...

9 years ago | 1 answer | 0

1

answer

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...

9 years ago | 1 answer | 0

1

answer

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...

9 years ago | 1 answer | 1

1

answer

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...

9 years ago | 1 answer | 0

1

answer

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...

9 years ago | 1 answer | 0

1

answer

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...

9 years ago | 2 answers | 0

2

answers

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...

9 years ago | 1 answer | 0

1

answer

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)...

9 years ago | 1 answer | 0

1

answer

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 ...

9 years ago | 1 answer | 0

1

answer

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 ...

9 years ago | 2 answers | 0

2

answers

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...

9 years ago | 1 answer | 0

1

answer

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: ...

9 years ago | 1 answer | 0

1

answer

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...

9 years ago | 2 answers | 0

2

answers

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/...

9 years ago | 2 answers | 0

2

answers

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...

9 years ago | 2 answers | 0

2

answers

Load more