Community Profile

photo

RG


Last seen: 19 days ago
9 total contributions since 2015

RG's Badges

  • First Review
  • Thankful Level 1

View details...

Contributions in
View by

Answered
Swap number with a word
Excellent, thanks!

2 years ago | 0

Question


Swap number with a word
Hi all, I am wondering how I could swap a number in a vector with a word. I have a vector from 1 to 100 ( linspace(1,100) ) a...

2 years ago | 2 answers | 0

2

answers

Question


How to access certain matrix elements and turn into NaN?
Hi, I have two matrices *z* and *interior* as shown below: z =[ 9.0000 17.6400 29.1600 43.5600 60.8400 81.0...

4 years ago | 1 answer | 0

1

answer

Answered
Subscript indices must either be real positive integers or logicals
I had to first create a function called *sigma_TT*: function sigma_TT = sigma_TT(r, theta) sigma_TT = r.^4 .* cos...

4 years ago | 0

| accepted

Question


Subscript indices must either be real positive integers or logicals
Hei All, I have been getting the error message "Subscript indices must either be real positive integers or logicals. " refer...

4 years ago | 2 answers | 0

2

answers

Question


How to replace RGB values
Hi Everyone, I was wondering if it is possible to replace the RGB values of an image with values of certain range? I have ...

4 years ago | 3 answers | 0

3

answers

Question


How to extract columns of a matrix using a for loop?
Hi Everyone, I have a 3x6 matrix and trying to extract 1st and 3rd, 2nd and 5th, 3rd and 6th column using a loop. The matrix ...

4 years ago | 1 answer | 0

1

answer

Question


Help with using "nargin"
Hi All, I got a function "replace(a,b,c)" where I am trying to replace input arguments with another input argument when some ...

5 years ago | 1 answer | 0

1

answer

Question


Help with Function using Logical Indexing
Hi, I'm trying to write a function, without using loops, which takes a matrix A and an integer k as inputs and returns a matrix ...

5 years ago | 1 answer | 0

1

answer