klb
Followers: 0 Following: 0
Feeds
提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 2 个回答 | 0
2
个回答提问
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 前 | 2 个回答 | 0
2
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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...
4 years 前 | 1 个回答 | 0
1
个回答已回答
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...
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...
4 years 前 | 0
| 已接受
提问
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:...
4 years 前 | 2 个回答 | 0
2
个回答已回答
[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...
[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...
4 years 前 | 0
提问
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 ...
4 years 前 | 3 个回答 | 0
3
个回答提问
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 前 | 3 个回答 | 0
3
个回答已回答
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=...
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=...
4 years 前 | 0
| 已接受
提问
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 前 | 2 个回答 | 0
2
个回答已解决
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 前
已解决
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 前
已解决
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 前
已解决
Getting logical indexes
This is a basic MATLAB operation. It is for instructional purposes. --- Logical indexing works like this. thresh = 4...
4 years 前
已解决
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 前
已解决
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 前
已解决
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 前
已解决
Get the length of a given vector
Given a vector x, the output y should equal the length of x.
4 years 前
已解决
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 前
已解决
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 前
已解决
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 前
提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 1 个回答 | 0