photo

Kan-Hua


Imperial College London

Active since 2012

Followers: 0   Following: 0

Message

Statistics

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

View badges

Feeds

View by

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

10 years ago | 0

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

10 years ago | 0

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

10 years ago | 0

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

10 years ago | 0

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

10 years ago | 0

| accepted

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

10 years ago | 0

| accepted

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

10 years ago | 4

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

10 years ago | 0

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

10 years ago | 0