Community Profile

photo

Brett Baxter


Last seen: 9 Monate vor Aktiv seit 2020

Followers: 0   Following: 0

Statistiken

  • Thankful Level 3

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


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

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 3 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


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

mehr als 3 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 3 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


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

mehr als 3 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 3 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort