Community Profile

photo

Mark


Last seen: circa un mese fa Attivo dal 2013

Statistiche

  • Thankful Level 2
  • Thankful Level 1
  • Knowledgeable Level 1
  • First Answer

Visualizza badge

Content Feed

Visto da

Domanda


counting pattern frequency in a string
Looking for ideas on the fastest way to count the number of occurrences of letter patterns in a string. For example, for the te...

oltre 6 anni fa | 1 risposta | 0

1

risposta

Domanda


Any good tutorial examples of OOP in Matlab for agent-based models?
hello, I am new to OOP, and would like to see a few examples of how it might be used to develop agent-based models or cellular a...

oltre 8 anni fa | 0 risposte | 0

0

risposte

Domanda


Generic code to import data from set of txt files?
I have a set of text files that have a 1x6 vector of data in each. The names of the text files are based on timestamps and are ...

oltre 10 anni fa | 2 risposte | 0

2

risposte

Domanda


How can I adjust a matrix or a color map to have a gradient plus two distinct colors?
I have some data that ranges from 0 to 1 inclusive. This data is on the even positions (i.e., row and column both even) of a ma...

oltre 10 anni fa | 0 risposte | 0

0

risposte

Risposto
When I open matlab, I can not click anything. It seems everything is frozen.Before it worked well. I am using matlab 2011b on Mac. I did reinstall the program, the problem is still there! Anyone can help?
I found a workaround for 10.6.8 at least: Close all programs Go to Applications / Utilities / Java Preferences ...

quasi 11 anni fa | 0

Risposto
Java 10.6 Update 16 issue on OsX 10.6
I found a workaround: Close all programs Go to Applications / Utilities / Java Preferences The Java Prefs app...

quasi 11 anni fa | 0

Risposto
Java 1.6.0_51 breaks MATLAB 2012b on Mac OS X 10.6.8
I found a workaround: Close all programs Go to Applications / Utilities / Java Preferences The Java Prefs app...

quasi 11 anni fa | 0

Risposto
Java 1.6.0_51 breaks MATLAB 2012b and below
I found a temporary workaround for OS 10.6.8 at least, and involves no installations: Close all programs Go to App...

quasi 11 anni fa | 0

Risposto
Cannot type or edit in MATLAB, only right click and menus.
I found a workaround: Close all programs Go to Applications / Utilities / Java Preferences The Java Prefs app...

quasi 11 anni fa | 2

| accettato

Domanda


Cannot type or edit in MATLAB, only right click and menus.
Strange occurrence today, I started MATLAB and I cannot get any input except right click menus. Running 2012a on MAC 10.6. Wor...

quasi 11 anni fa | 3 risposte | 2

3

risposte

Domanda


Collapsing integer data into consecutive integers?
I have a matrix of values that include integers >= 0. There are repeats, and also gaps in consecutiveness. I would like to col...

quasi 11 anni fa | 2 risposte | 0

2

risposte

Risposto
Stor data in a vector
If you want preallocation: p_t2=1:1000; pt2=1:40; JJ=zeros(1,1000); for z=1:40 for v=1:25 XX=p_t2(...

quasi 11 anni fa | 0

Risposto
lines to curves drawing problem
The problem is that MATLAB doesn't know what curve you want, since there is no data between the points you have. You either nee...

quasi 11 anni fa | 1

Risposto
How to fit a long tail in histogram in one bin?
You could loop through your X values and make a temporary XT that assigns everything large to 2010: XT=X; XT(XT>xint*67) =...

quasi 11 anni fa | 0

| accettato

Risposto
why doesn't my "if" statement work?
The way you have it, you will only get the if statement to be satisfied if all elements of z are less than one. If you are tryi...

quasi 11 anni fa | 0

Risposto
what is wrong with my 'For' loop
In your loop, the calculation: kt*density*(n./60).^2*d^4 gives you a vector (1x11 in your case). You are trying to assign th...

quasi 11 anni fa | 0

Domanda


Any way to get LZW compression on figure outputs to a tiff?
I am saving a sequence of tiff files using print(gcf,'name','-dtiff') The files that are output are compressed (compared to -...

quasi 11 anni fa | 2 risposte | 0

2

risposte