photo

Brett Baxter


Last seen: meer dan een jaar ago Active since 2020

Followers: 0   Following: 0

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


How to access data in structures?
I'm currently learning how to use structures in MATLAB and I'm finding it a little more confusing than cells and other regular a...

ongeveer 4 jaar ago | 1 answer | 0

1

answer

Question


How to extract before and after a character up to a certain limit?
Hey everyone, I'm playing around with extractBefore and extractAfter and I was wondering if I could get Matlab to extract everyt...

ongeveer 4 jaar ago | 3 answers | 0

3

answers

Question


Is there a way to assign a value to an input string?
I was wondering if there was a way to assign a second value to an input that would actually be used in the function instead of t...

ongeveer 4 jaar ago | 0 answers | 0

0

answers

Question


How to find what number is missing from a range inside of an array?
I wanted to know if there was anyway to get matlab to tell me what number was missing from an array of numbers? Kind of like a s...

ongeveer 4 jaar ago | 1 answer | 0

1

answer

Question


How do I swap the elements in the major diagonal with those in the minor diagonal?
So let's assume I have an array like so x = 4x5 array [1 2 3 4 5 6 7 8 9 1 2 3 4 5 6 7 8 9 1 2] What I want to do is...

ongeveer 4 jaar ago | 3 answers | 0

3

answers

Question


How to reshape an array horizontally
I wanted to know how to go about reshaping a character array horizontally, starting from the first index in the first row, and t...

ongeveer 4 jaar ago | 2 answers | 0

2

answers

Question


How to subtract from a vector, have it return a value of zero if the answer is less than zero, and then tell me how much was subtracted?
I essentially need to write a function like this: x=[1, 2 3] y= 2 x(1) - y if x(1)<0 totalsubtracted = y +x(1) x(1)=0 ...

ongeveer 4 jaar ago | 1 answer | 0

1

answer

Question


How to subtract from a vector array and, if the answer is lees than 0, have it return a value of 0
I'm trying to subtract a number from a specific value in a vector. Then, if the answer is less than 0, I want it to return the a...

ongeveer 4 jaar ago | 2 answers | 0

2

answers

Question


How to enter multiple values for a single input in a function
So what I'm trying to do is have a function take in a vector of inputs, and then use them seperately in a function. So the funct...

ongeveer 4 jaar ago | 1 answer | 0

1

answer