photo

Kan-Hua


Imperial College London

Attivo dal 2012

Followers: 0   Following: 0

Messaggio

Statistica

All
  • Knowledgeable Level 1
  • First Answer
  • Promoter
  • Solver

Visualizza badge

Feeds

Visto da

Risposto
how to initialize a vector of structure
You can consider using table instead of structure array to store your data, which gives some flexibility to access the members. ...

oltre 10 anni fa | 0

Risposto
how to initialize a vector of structure
To preallocate memory, you need to put some values into the data structure that you are using. I think it's the design of Matlab...

oltre 10 anni fa | 0

Risposto
Saving as a .txt file help
I would suggest you use cell array to store your strings with different lengths unless you have a particular reason to store the...

oltre 10 anni fa | 0

Risposto
How can I open all xml files?
First, I don't think Matlab's built-in importdata() function can handle XML file. You can use this package to read your xml data...

oltre 10 anni fa | 0

Risposto
Can I output a 2D plot as an interactive document?
Hi, I don't think you can distribute the interactive features without having your colleague access to Matlab. However, if the...

quasi 11 anni fa | 0

| accettato

Risposto
hi,, i'm new in matlab.. i want to draw using the mouse with this code, but this code can only make one line,, i want to make it more..,
Hi, The simplest way is initialising an axes object that imfreehand() function can draw on to, and put your function into an ...

quasi 11 anni fa | 0

| accettato

Risposto
Finding maximum value and it's location from the matrix
I think that's what you need: [max_num, max_idx]=max(K(:)); [X,Y]=ind2sub(size(K),max_idx); you need the input para...

quasi 11 anni fa | 4

Risposto
Undefined function or variable
I would suggest you add a "else" statement in your first "if" block. It may be that your RGB components of the image you loaded ...

quasi 11 anni fa | 0

Risposto
Convert from matlab script to vb script
I don't think there's any off-the-shelf product that allows you to convert matlab code to VB. However, you can try convert yo...

quasi 11 anni fa | 0