photo

Khanh


Attivo dal 2014

Followers: 0   Following: 0

Messaggio

Statistica

  • First Review
  • Thankful Level 4
  • First Answer

Visualizza badge

Feeds

Visto da

Domanda


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

quasi 10 anni fa | 2 risposte | 0

2

risposte

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

quasi 10 anni fa | 0

Domanda


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

quasi 10 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 10 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 10 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 10 anni fa | 0 risposte | 0

0

risposte

Domanda


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

circa 10 anni fa | 3 risposte | 0

3

risposte

Domanda


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

circa 10 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 10 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 10 anni fa | 0 risposte | 0

0

risposte

Domanda


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

circa 10 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 10 anni fa | 0 risposte | 0

0

risposte

Domanda


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

circa 10 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 10 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 10 anni fa | 0 risposte | 0

0

risposte

Domanda


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

circa 10 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 10 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 10 anni fa | 1 risposta | 1

1

risposta

Domanda


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

circa 10 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 10 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 10 anni fa | 2 risposte | 0

2

risposte

Domanda


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

circa 10 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 10 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 10 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 10 anni fa | 2 risposte | 0

2

risposte

Domanda


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

circa 10 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 10 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 10 anni fa | 2 risposte | 0

2

risposte

Domanda


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

circa 10 anni fa | 2 risposte | 0

2

risposte

Domanda


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

circa 10 anni fa | 2 risposte | 0

2

risposte

Carica altro