Community Profile

photo

RG


Last seen: ungefär 2 månader ago Active since 2015

Statistics

  • Thankful Level 2
  • First Review
  • Thankful Level 1

View badges

Content Feed

View by

Answered
Swap number with a word
Excellent, thanks!

ungefär 6 år 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...

ungefär 6 år 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...

mer än 7 år 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...

mer än 7 år 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...

mer än 7 år 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 ...

nästan 8 år 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 ...

nästan 8 år 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 ...

nästan 9 år 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 ...

nästan 9 år ago | 1 answer | 0

1

answer