photo

Arthur


Active since 2013

Followers: 0   Following: 0

Message

Statistics

  • First Review
  • Knowledgeable Level 2
  • First Answer

View badges

Feeds

View by

Answered
How do I plot a figure like this? (Figure included inside)
This is called a bee swarm plot. There are several submissions on the file exchange dealing with this. try http://blogs.mathwo...

ungefär 9 år ago | 1

Answered
How can I select a point in the figure by mouse?
I would make use of the buttondownFcn of the line. The easiest if you make each point a separate object (e.g. a line). Than t...

ungefär 11 år ago | 0

Answered
Error in exporting values using xlswrite
As far as I know, Matlab can (still) not access Excel on a mac. xlswrite only works on a pc. A shame, if you ask me. You ...

ungefär 11 år ago | 0

Answered
where is the wrong in this equations between for loop
Your loop doesn't seem to change anything. You only use i and j for indexing, and all your values for E will be 8.85*10.^(-12) o...

ungefär 11 år ago | 1

| accepted

Answered
Editboxes in a Script
You need to pass on the handle of your textbox to the function that has to read out the textbox. The common way to do this is by...

ungefär 11 år ago | 0

Answered
Send variables through functions in Matlab GUI
Watch this tutorial - it works very well. http://blogs.mathworks.com/videos/2011/11/23/passing-data-between-guide-callbacks-w...

ungefär 11 år ago | 0

Answered
Create and populate field on existing structure. Impossible?
Did you try this? [MyStruct.Field3] = DFullData{:,5};

ungefär 11 år ago | 2

| accepted

Answered
In this programe of line fitting for y=mx+c , i get problem in "cfit". plz help me to get right program for this y=mx+c.
The dimensions of your arrays in not consistent. In order to add or multiply two variables, they have to have the same dimension...

ungefär 11 år ago | 0

Answered
How to propose cell in a choice list in GUI
I hope I understand your question correctly. You want to put all the 199 strings as options in the choise list? For this you nee...

ungefär 11 år ago | 1

Answered
how to manage inputs in a dialogbox
To leave the textbox blank, you can either do this: defaultanswer = {'',''}; or this answer=inputdlg(prompt,name,nu...

ungefär 11 år ago | 0

Answered
How can I share data in nested functions of a GUI?
evalin and assignin are generally speaking not great ways to do this. Have a look at getappdata & setappdata. Have a look at thi...

ungefär 11 år ago | 0

Answered
How can I determine if a directory is on the MATLAB path programmatically?
exist('dirname','dir') Returns 7 if the dir is on your path, 0 if not.

ungefär 11 år ago | 1

Answered
How to combine data with repeating groups of values?
So you want the first weekNumber of every week? You can use diff. whatINeed = weekNumber([true; diff(weekNumber) ~=0])

ungefär 11 år ago | 0

| accepted

Answered
Function definitions are not permitted in this context??
You cannot define functions in the command window. They have to be in an m-file.

ungefär 11 år ago | 0

Answered
keeping track of multiple lines properties
Your approach sounds way to complicated - there's no need to make a separate structure with all the object properties. Storing a...

ungefär 11 år ago | 1

Answered
Add labels to dataset column that occur in a particular range.
Something like this might work,assuming that your labels will cover the entire range. Put your labels in a cell array: labe...

ungefär 11 år ago | 0

| accepted