# klb

Followers: 0 Following: 0

**Statistics**

RANK**19,675**

of 294,043

REPUTATION**2**

CONTRIBUTIONS

**22** Questions

**3** Answers

ANSWER ACCEPTANCE **
86.36%
**

VOTES RECEIVED**0**

RANK

of 20,071

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Feeds**

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

answerQuestion

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

answersQuestion

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

answersQuestion

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

answerQuestion

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

answerSplit 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[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

answersQuestion

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

4 years ago | 3 answers | 0

### 3

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

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

4 years ago | 2 answers | 0

### 2

answersSolved

Find the Oldest Person in a Room

Given two input vectors: * |name| - user last names * |age| - corresponding age of the person Return the name of the ol...

4 years ago

Solved

Convert from Fahrenheit to Celsius

Given an input vector |F| containing temperature values in Fahrenheit, return an output vector |C| that contains the values in C...

4 years ago

Solved

Calculate Amount of Cake Frosting

Given two input variables |r| and |h|, which stand for the radius and height of a cake, calculate the surface area of the cake y...

4 years ago

Solved

Getting logical indexes

This is a basic MATLAB operation. It is for instructional purposes. --- Logical indexing works like this. thresh = 4...

4 years ago

Solved

Vector creation

Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.

4 years ago

Solved

Doubling elements in a vector

Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...

4 years ago

Solved

Flip the vector from right to left

Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not ...

4 years ago

Solved

Whether the input is vector?

Given the input x, return 1 if x is vector or else 0.

4 years ago

Solved

Get the length of a given vector

Given a vector x, the output y should equal the length of x.

4 years ago

Solved

Select every other element of a vector

Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

4 years ago

Solved

Find the sum of all the numbers of the input vector

Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

4 years ago

Solved

Times 2 - START HERE

Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

4 years ago

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

answerQuestion

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