gmltn1212
Followers: 0 Following: 0
Feeds
提问
lsim function undersample error
Hi, I am trying to plot the response of a state space function on MATLAB using lsim function. However, everytime I run the code,...
3 years 前 | 1 个回答 | 0
1
个回答提问
converting txt to xlsx
Hi I am trying to convert a textfile to xlsx. file My textfile holds this information: StudentName: James School: Universit...
4 years 前 | 1 个回答 | 0
1
个回答提问
How to replace a word with another word in a cell array (case insensitive)
Hi I am trying to replace words found in a string with a given value (case insensitive) str = 'lemon lemontea Lemongrass lime...
4 years 前 | 1 个回答 | 0
1
个回答提问
How to sort a cell array of chars in descending order
Hi, I am trying to sort an array of chars in descending order I tried to use sort() but its giving an error saying 'Only one i...
4 years 前 | 1 个回答 | 0
1
个回答提问
finding an exact word in a string using a variable
Hi I am trying to find a location of an exact word here.... str = 'I woke up to people talking loud outside so I decided to go ...
4 years 前 | 0 个回答 | 0
0
个回答提问
how to find a exact word in a string?
Hi I am trying to return the value that matches with a given word in a string... str = 'talk talking people talk talking talk' ...
4 years 前 | 1 个回答 | 0
1
个回答提问
how to delete a row in a cell array
Hi I am trying to delete rows depending on the two lowests rows in a column... A = {'rowcount' 'one' 'two' 'three'; 'rowone' [1...
4 years 前 | 2 个回答 | 0
2
个回答提问
appending a column to a cell array
Hi I am trying to append a column to an existing cell array also with an additional header... addthis = {1;2;3;4;5} addheader ...
4 years 前 | 1 个回答 | 0
1
个回答提问
help!! not using repmat()
I am trying to not use repmat() because I want to actually understand what is going on with this... arr = [a b; c d] row = 2; ...
4 years 前 | 1 个回答 | 0
1
个回答提问
array and logicals; deleting columns
Hi I am trying to delete a column of array based on a logical (true, false) arr = [1 2 3; 4 5 6; 7 8 9]; if the logical is thi...
4 years 前 | 1 个回答 | 0
1
个回答提问
Adding two vectors of different classes
Hi I am trying to add to vectors of different classes: a = [13 13 14 15 14 15 13 14 15]; %double b = 'ABAABBAAB'; %char ...
4 years 前 | 1 个回答 | 0
1
个回答提问
Multiplying two polynomials without using conv() function
How can I multiply two polynomials without usiing conv() function? %two polynomials a = [13,-13] %a = 13x - 13 b = [-13,9,...
4 years 前 | 2 个回答 | 0
2
个回答提问
Finding Prime numbers (NO isprime function)
Hi, I am trying to return if the value is prime or not. And here is my code vec = [3 4 88 5 1371]; for i = 1:length(vec) ...
4 years 前 | 1 个回答 | 0
1
个回答提问
Prime number function Help!
Hi I am trying to write a code that takes in a vector of doubles and return only prime numbers. I understand I can do this by us...
4 years 前 | 1 个回答 | 0
1
个回答提问
Comparing two arrays +
Hi I am trying to compare two arrays and apply different mathematical operations here... a = [10 20 30 40]; b = [20 30 30 10];...
4 years 前 | 1 个回答 | 0
1
个回答提问
How to capitalize words in a string (matlab)
Hi, I am trying to capitalize a word in a string For example, the structionn tells you to capitalize the word 'Mello' and low...
4 years 前 | 1 个回答 | 0
1
个回答提问
How to separate an array into 3
Hi I am trying to divide one array into 3 arrays let's say A = [11 22 33 44 55 66 77 88 99] I want to divide A like this: ...
4 years 前 | 2 个回答 | 0
2
个回答提问
How to Add two strings
Hi, I am trying to add two strings: A = 'a b c d e' B = '1 2 3 4 5' if I want to return a value 'a1b2c3d4e5', how s...
4 years 前 | 1 个回答 | 0