photo

klb


Last seen: 1 year ago Active since 2018

Followers: 0   Following: 0

Statistics

All
  • First Review
  • First Answer
  • Community Group Solver
  • Solver
  • Thankful Level 3

View badges

Feeds

View by

Question


Legend for selective plot
Hello everyone, I want legend to automatically update based on what was selcted to plot. I want only vectors that are plotted ...

1 year ago | 1 answer | 0

1

answer

Question


Sorting operation on a string matrix
Hi everyone, My code for sorting string. Question in comment: s = ["1 9:53.3"; "3 9:23.5"; "5 2:16.2"; "2 2:...

3 years ago | 2 answers | 0

2

answers

Question


Terminate while loop when user hits enter
Hi eveyone, This is my while loop. It must end when user hits enter without entering a value . The loop allows for upto 3 succe...

3 years ago | 2 answers | 0

2

answers

Question


Trouble with saving outer loop values
Hi eveyone, Tying to save outer loop iteration. Code works as wanted till first comment clear all A = [12 4; 1, 25; ...

3 years ago | 1 answer | 0

1

answer

Question


String operations on dynamic dataset
Hi everyone, Number of machines activated and hence the duration timestamp, varies each day so the dataset dimention is dynami...

3 years ago | 1 answer | 0

1

answer

Answered
Split a column into two based on a delimiter
Needed formatting. I chaged name to Machine A so now the word includes one space i.e. the delimiter as well. Where the spaci...

3 years ago | 0

| accepted

Question


Split a column into two based on a delimiter
Hi eveyone, I have a table with one column and several rows of time stamps: 1 6:50.4 2 6:55.9 3 6:50.8 4 6:58.6 5 7:...

3 years ago | 2 answers | 0

2

answers

Answered
[DISCONTINUED] Wish-list for MATLAB Answer sections.
Option to bookmark an answer or the whole question thread. And this should be available to us in the profile dashboard. I bookm...

3 years ago | 0

Question


replacing numbers with text
Hello everyone, I want to replace text with numbers. 1=s, 3=r, 4=b . I tried 2 methods. Cant figure why niether of the codes ...

3 years ago | 3 answers | 0

3

answers

Question


Referencing and extracting with conditions
Hello everyone, I have 2 matrices. First, is called combomatrix of 3 columns, combinations that sum to 56 , and this is a 35...

3 years ago | 3 answers | 0

3

answers

Answered
All combinations not being generated
update: In line 3 of the code A3(:) is repeated twice, resulting in the 'error' Follwing is what it should read : my_matrix=...

3 years ago | 0

| accepted

Question


All combinations not being generated
Hello everyone, Running a code to get all combinations of vector. Each combination is unique on its own. Meaning, [.4, .1, ....

3 years ago | 2 answers | 0

2

answers

Question


Scaling of one axis only in 2D plot
hello eveyone, I have the display on left. I want to get the diplay on the right (currently stretched using MS Word). Height of...

4 years ago | 1 answer | 0

1

answer

Question


Replace string with another value
What would be a good way replace a full string with first 3 letters of last word. For example '13 Jon Walker' with 'WAL' . I...

4 years ago | 1 answer | 0

1

answer

Question


Error in string operation
Runs correctly first time. On second run, says "Error using == Comparison between logical and string is not supported." What...

4 years ago | 1 answer | 0

1

answer

Question


Nested loop error and saving result
Getitng an " Index in position 1 is invalid. Array indices must be positive integers or logical values." error. What am I not do...

4 years ago | 1 answer | 0

1

answer

Question


Pass values to outside of loop after each iteration
hi, %note: outputs are floating point values i.e 123.4567 for w=1:20 for ss=1:24 d (ss,:)= 2*ss*(1:5)+(ss/w);...

5 years ago | 2 answers | 0

2

answers

Question


Replace elements of a matrix
UPDATE: I expanded and updated the question and posted it as a new one. here : https://uk.mathworks.com/matlabcentral/answers/44...

5 years ago | 3 answers | 0

3

answers

Question


Losing Format on import.
What is the right way to import time data from Excel without losing format? example 03:49:00 (hh:mm:ss) from excel is 0.1590 ...

5 years ago | 1 answer | 0

1

answer

Question


Delete rows with same elements
a=[2 3 2;3 3 3;4 4 4;2 5 4; 3 5 5; 4 4 4; 7 3 4] how do I delete only those rows where elemets repeat for entire row length. In...

5 years ago | 2 answers | 0

2

answers

Question


Combinations of a vector with replacement
Hello everyone. A = [2 3 4]. I am trying to generate these 2 combinations: 22, 23 ,24 ,32 ,33 ,34, 42 ,43 ,44 (order mat...

5 years ago | 1 answer | 0

1

answer

Question


for loop running like a forever loop
Hi. Following generates combinations that sum to 75, using at least 2 values. This code runs but takes forever. How can i speed ...

5 years ago | 2 answers | 0

2

answers

Question


reshaping matrix with odd number of total elements
how can I reshape a 63X5 matrix (315 elements) into a mX2 , and a mX4 matrix?

6 years ago | 2 answers | 0

2

answers

Question


How to speed up calculation taking inputs from 2 separate and very large matrices (working code below)
Hi. The code below works. *updated portion* the REAL is 'a' is at 10600X5 and and 'b' at 60X5 and takes forever to run. How can ...

6 years ago | 1 answer | 0

1

answer

Question


How to multiply each row of a matrix with a second full matrix, while applying a formula
I want to multiply each row of 'a' into 'b' while applying a formula for each row of b, thus creating a new martix of size 8,4. ...

6 years ago | 2 answers | 0

2

answers