Community Profile

Chris Mc


37 total contributions since 2010

Contact

Contributions in
View by

Responded


Re: IF (simple coding problem)
Got it. Thanks for your help guys!!

4 years ago | 1026 views

Posted


IF (simple coding problem)
Hi, I am having troulbe using the IF operator. Logically, what I am doing makes sense but it doesn't give the correct output so...

4 years ago | 1026 views

Responded


Re: GUI comments box
Got it working fine using the 'Max' property box - easy when you know how! Thanks for the responses

4 years ago | 2593 views

Posted


GUI comments box
Hi, I am writing a gui that requires a 'comments' box for users to allow them to make comments/notes etc before saving or print...

4 years ago | 2593 views

Responded


Re: Picture in GUI
Ahhh...I understand now and have sorted it. Thanks for your help everyone.

5 years ago | 1486 views

Responded


Re: Picture in GUI
Thats the first thing i tried. I may be looking in the wrong place though. If i double click the set of axes, I get the propert...

5 years ago | 1486 views

Responded


Re: Picture in GUI
Hi Abbas, Thanks for the reply. This worked when i changed 'imshow' to 'image'. Only problem now is that I have tick marks and ...

5 years ago | 1486 views

Posted


Picture in GUI
Hi, Can anyone tell me if there is a way to programme a picture into a GUI (eg a company logo in the corner, etc)? Thanks

5 years ago | 1486 views

Responded


Re: Run lines in a script
In general, it would be the same lines every time.

5 years ago | 18419 views

Responded


Re: Run lines in a script
I would appreciate that as I don't quite think i'm with you. Here is the code: model.material.create('mat1'); model.material('m...

5 years ago | 18419 views

Responded


Re: Run lines in a script
I am using it with FEA program comsol. And basically the script defines a material, so in the script there are lines that matlab...

5 years ago | 18419 views

Responded


Re: Run lines in a script
Thanks guys. These are the first things that come in to my head and would of course work. However, the application really dictat...

5 years ago | 18419 views

Posted


Run lines in a script
Hi, Can anybody tell me if there is a way to tell matlab that you only want certain lines in a script to run? For example: ru...

5 years ago | 18419 views

Responded


Re: Plotting a marker
Thanks Nasser

5 years ago | 1311 views

Posted


Plotting a marker
Hi, Can anyone tell me how to plot a point or a marker on a graph? For example, if I have plotted a graph of y=2*x+5 and I wan...

5 years ago | 1311 views

Posted


Font color/ colour
Hi, I have got some programming script that I would like to make look a bit more structured by use of font colour. Having a scr...

6 years ago | 1248 views

Posted


Ignoring matrix elements
Hi, I am wondering if theres any way to tell matlab to ignore certain matrix elements (e.g. ignore highest 50 elements or lowe...

6 years ago | 5338 views

Responded


Re: m-file "cleaning"
Hi guys thanks for your answers. I'll get back if I find anything on the file exchange. Steve - I think that would be a good id...

6 years ago | 3613 views

Responded


Re: m-file "cleaning"
Hi Husam, ignore my ignorance but what is FEX? And where can I find these files? They would save so much time!! Thanks, Chris

6 years ago | 3613 views

Posted


m-file "cleaning"
Hi, Does anyone know of any useful shortcuts to "cleaning up" m-files? For example If we have spent a while on a FEA model (tha...

6 years ago | 3613 views

Responded


Re: Solving matrix coefficients iteratively
Thanks for your answer steve, with the equation I have though N cannot be solved directly, it has to be iterative. The way Tors...

6 years ago | 3277 views

Responded


Re: Solving matrix coefficients iteratively
Thanks very much for this Torsten. I think I understand it - may well get back to you!

6 years ago | 3277 views

Responded


Re: Solving matrix coefficients iteratively
My apologies. Basically I have a matrix [A] of size 1x168 and I want to take each coefficient in that matrx and use it in the fo...

6 years ago | 3277 views

Posted


Solving matrix coefficients iteratively
Hi, does anyone know of any functions that will solve the coefficients of a matrix iteatively. I cant seem to find any in the h...

6 years ago | 3277 views

Responded


Re: FAO comsol users - postmax function
Hi, I have still not found any postmax or similar function but if anyone is interested I have found a way round the problem. Qu...

6 years ago | 2717 views

Posted


FAO comsol users - postmax function
Hi, I have been spending time translating some comsol-matlab code from comsol V3.5a to comsol V4.1. However the one thing I hav...

6 years ago | 2717 views

Responded


Re: MATLAB programming script
Ok, thanks. Ill try this too. The eval() function still seemed to work though.

6 years ago | 2273 views

Responded


Re: MATLAB programming script
Yes it did! Thank you very much!!!

6 years ago | 2273 views

Responded


Re: MATLAB programming script
I dont think you are. Basically in the interface I want to define a command (such as material) as an m-file (in this case mater...

6 years ago | 2273 views

Responded


Re: MATLAB programming script
Hi Husam, thanks for your answer. Im a bit lost though, can you expand? How cant it be done in the interface? What will renaming...

6 years ago | 2273 views

Load more