Community Profile

photo

per isakson


Last seen: 9日 前

KTH

2,166 2010 年以降の合計貢献数

連絡する

per isakson's バッジ

  • 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

すべて表示

貢献した分野
表示方法

回答済み
how to replace all elements with zeros after "ONE" (number) in every column of matrix???
Try this >> m = randi([0,1],[6,8]) m = 0 0 0 1 0 0 0 0 0 1 1 1 1 1...

9日 前 | 0

| 採用済み

回答済み
Toolstrip behavior and Editor tabs
I don't know what the documentation says, but I guess it doesn't describe in any detail how the toolstrip shall behave. Yes, wi...

10日 前 | 1

| 採用済み

回答済み
When are search terms highlighted in the online documentation?
Tech support answers: "[...] the development team [...] confirm that this is not currently possible. [...] The developers will c...

11日 前 | 0

回答済み
How to optimize write operation to disk for faster execution?
Replace for i=1:length(data_hex_out) fprintf(h_file_out,'%s',data_hex_out(i,:)); end by fprintf( h_file_out, '%s', perm...

11日 前 | 0

| 採用済み

回答済み
What can I do with a web browser handle?
Undocumented Matlab and this book might be the best sources of information on the use of Java in Matlab(, besides the Matlab doc...

16日 前 | 1

回答済み
Can I save multiple seperate functions to one .m file?
IMO: The best solutions is a class with statics methods. >> lib.div( 8, 2 ) ans = 4 >> lib.mult( 8, 2 ) ans = 16 ...

20日 前 | 0

回答済み
Problems with averages and storing values
I like to present a different approach, which includes divide the projects into steps use Code Sections use functions use de...

21日 前 | 0

回答済み
Enumeration of classes in inheritance
I might neither fully have understood your code nor the title of the question. Nevertheless, I think this is a better approach. ...

22日 前 | 0

| 採用済み

質問


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

約1ヶ月 前 | 1 件の回答 | 2

1

回答

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

約1ヶ月 前 | 0

| 採用済み

回答済み
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 ...

約1ヶ月 前 | 0

回答済み
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 ...

約1ヶ月 前 | 1

| 採用済み

回答済み
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...

約1ヶ月 前 | 0

回答済み
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; ...

約1ヶ月 前 | 0

回答済み
Why doesn't my matrix appear without missing columns
The problem exists in R2018b,Win10

約1ヶ月 前 | 2

| 採用済み

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

約1ヶ月 前 | 0

回答済み
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...

約1ヶ月 前 | 0

回答済み
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...

約1ヶ月 前 | 0

回答済み
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...

約1ヶ月 前 | 0

| 採用済み

回答済み
reading files in sequence
See How can I process a sequence of files?

約1ヶ月 前 | 0

| 採用済み

回答済み
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. ...

約1ヶ月 前 | 0

| 採用済み

回答済み
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...

約1ヶ月 前 | 2

回答済み
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...

約1ヶ月 前 | 0

| 採用済み

回答済み
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...

約1ヶ月 前 | 0

回答済み
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...

約2ヶ月 前 | 1

| 採用済み

回答済み
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...

約2ヶ月 前 | 1

回答済み
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 = ...

約2ヶ月 前 | 0

回答済み
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...

約2ヶ月 前 | 0

| 採用済み

回答済み
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...

約2ヶ月 前 | 0

回答済み
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...

約2ヶ月 前 | 0

Load more