Community Profile

photo

per isakson


Last seen: Today

KTH

2.158 total contributions since 2010

Contact

per isakson's Badges

  • Revival Level 3
  • Ace
  • 36 Month Streak
  • Leader
  • Speed Demon
  • Promoter
  • Personal Best Downloads Level 2
  • Editor's Pick
  • First Review
  • 5-Star Galaxy Level 4
  • First Submission
  • Thankful Level 3
  • Knowledgeable Level 4
  • First Answer
  • Commenter

View all

Contributions in
View by

Question


When are search terms highlighted in the online documentation?
Background I use R2018b. I've created an online documentation for a toolbox. HTML help files. I written m-files and used pub...

3 giorni ago | 0 answers | 1

0

answers

Answered
how to read complex file data to matrix
Following Walter's advise %% chr = fileread('a.txt'); %% chr = strrep( chr, ' + ', '+' ); chr = strrep( chr, ' - ', '-' ); ...

3 giorni ago | 0

| accepted

Answered
How do I find all entries in an object array with a certain property
Another approach >> cc = ClassC( 12 ); >> [cc.a] ans = 17 17 17 17 17 17 17 17 17 17 17 ...

3 giorni ago | 0

Answered
How can I initialize nested handle class with independent values
"My question is, if i want to use handle class 'a'(2nd way), can i have a faster way to initialize 'a' and have independent b.a ...

3 giorni ago | 1

| accepted

Answered
Error:" Output argument "y" (and maybe others) not assigned during call to"
I found this on if-elseif-else in the documentation of R14. Nonscalar Expressions If the evaluated expression yields a nonsc...

5 giorni ago | 0

Answered
How to display two things on one line?
See Append Text to Strings before you try my code. >> "abc"+"def" ans = "abcdef" >> and your example >> x = 17; ...

5 giorni ago | 0

Answered
Why doesn't my matrix appear without missing columns
The problem exists in R2018b,Win10

5 giorni ago | 2

| accepted

Answered
Create subfolders in the desired way
Try this %% output_path = 'd:\m\cssm'; % 'C:\Users\dparliari\Desktop\OutputEv' vars = {'Temperature', 'Relative_humidity'}; ...

6 giorni ago | 0

Answered
How to read rows of data in .csv file and turn them into arrays?
See Import Block of Numeric Data from Text File and search this forum for text read tag:block You write "very very long time" i...

10 giorni ago | 0

Answered
Is there a way to make string without quotes?
The title and the body-text of your question don't go together(?) "shift + enter" replaces all occurences of a name in a "scope...

13 giorni ago | 0

Answered
How to read a specific number in a text file containing a mixture of strings and numbers?
Try this %% chr = webread('http://tgftp.nws.noaa.gov/data/observations/metar/decoded/EDDH.TXT'); %% cac = regexp( chr, '^Te...

13 giorni ago | 0

| accepted

Answered
reading files in sequence
See How can I process a sequence of files?

13 giorni ago | 0

| accepted

Answered
How can I speedup this code ?
"I don't have much time [...]. What do you recommend that I do?" Set Specific Goals. Your goal must be clear and well defined. ...

14 giorni ago | 0

| accepted

Answered
Any tips to updating 'for loop' index!
The documentation on for says: Avoid assigning a value to the index variable within the loop statements. The for statement ove...

15 giorni ago | 2

Answered
Using assignin with structure elements
"What am I missing?" assignin() cannot assign to a field of a structure. It's possible to do it with evalin(). Compare the no...

16 giorni ago | 0

| accepted

Answered
Contour plots for random variables
The documentation on fcontour, Plot contours says: Specify a function of the form z = f(x,y). The function must accept two ma...

16 giorni ago | 0

Answered
Plotting two columns from matrix.
See Indexing with Logical Values half way down the page A starter %% M = dlmread('matrix.txt'); %% is_show = abs(M(:,8))<5e...

18 giorni ago | 1

| accepted

Answered
Matlab script is very very slow! Help me please!
Why not just let it run over a weekend? See Techniques to Improve Performance and Profile to Improve Performance I've download...

24 giorni ago | 1

Answered
Editing sections of an array that are pointed to by two vectors: one with starting indexes, another with end indexes
Try >> isSelected = logical([cumsum(indStart),0]-[0,cumsum(indEnd)]); >> isSelected(end) = []; >> data(isSelected) ans = ...

25 giorni ago | 0

Answered
Directly open custom documentation
It hasn't bothered me, but doc toolbox_name If the name is unique enough it produces a short list of search results. In my c...

25 giorni ago | 0

| accepted

Answered
num2cell out of memory
Why do you want to convert the numerical matrix to a cell array? It requires an enormous amount of memory for overhead. >> clea...

27 giorni ago | 0

Answered
Adding available capacity at the hourly time increment
This answer is a variation of my answer to your recent question, "Storing and passing all iterations to an array outside the nes...

28 giorni ago | 0

Answered
Storing and passing all iterations to an array outside the nested for loops
Read Multidimensional Arrays carefully and then try (which implements the advise of Image Analyst) >> clearvars >> cssm >> su...

28 giorni ago | 0

| accepted

Answered
Error with using fminsearch
Replace [xvmin,minD]=fminsearch(mindistance,xvg); by [xvmin,minD]=fminsearch('mindistance',xvg); or [xvmin,minD]=fminsearch...

29 giorni ago | 0

Answered
How to loop over a customized function?
I have modified semimanual_matching so that I don't need to put your text files in a new folder and include that folder in the M...

30 giorni ago | 1

| accepted

Answered
how to resolve the 'dot indexing not supported for variables of this type' error?
"I would prefer to keep private" Two alternatives remain Make a Minimal working example and upload it here Start debugging. S...

circa un mese ago | 0

Answered
How can I write a struct data into h5 file?
If the Matlab support of HDF5 has not been updated in the most recent years there is no high level support for writing compound ...

circa un mese ago | 0

Answered
Refactoring classes in MATLAB
There are some submission in the File Exchange that should be useful for renaming names over many files. Search for replace in f...

circa un mese ago | 0

| accepted

Answered
Automatic Refactoring of Classes
There are some submission in the File Exchange that should be useful for renaming names over many files. Search for replace in f...

circa un mese ago | 0

Answered
Take an specific number from text file
Here is an m-file, which is possible to build on to read more items from the text files. To test I created the three files, 'c...

circa un mese ago | 1

Load more