photo

Bob Whiley


2015년부터 활동

Followers: 0   Following: 0

통계학

  • Thankful Level 1

배지 보기

Feeds

보기 기준

질문


Change color of different spheres
I have the following code to plot a sphere [x y z] = sphere; a=[loc ;radius]; a = transpose(a); surf(x*a(1,4)+a(1,1),y*a(1...

9년 초과 전 | 답변 수: 2 | 0

2

답변

질문


Splitting an array and working on individual sections.
I have a large MxN array, M and N are both even, how can i split the array into 2x2 smaller arrays and perform operations on eac...

9년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Plot Coefficient Vector from Polyder
If I found the derivative coefficients of a polynomial using the polyder() function, is there away I can plot those coefficients...

9년 초과 전 | 답변 수: 0 | 0

0

답변

질문


Change all indices of a word in a string to '*'.
What is the best method to change all indices of a certain word in a string to '*'. Like if my string were 'Hello, my name is...

9년 초과 전 | 답변 수: 1 | 0

1

답변

질문


How can I add one character before each line of textfile?
How can I add one character before each line of textfile and output a new textfile with the changes made?

9년 초과 전 | 답변 수: 1 | 0

1

답변

질문


While Loop column vector of strings
I am trying to make a column of names and a column of numbers given a .txt file. The names are always next to the number, with a...

9년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Cell Arrays to string
If I have a long cell array, say a 1x120 cell (its arbitrary), each containing a different word like 'the' in one, and 'or' in t...

9년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Compare .txt to a string.
How can you compare each line of a .txt file to a string?

9년 초과 전 | 답변 수: 2 | 0

2

답변

질문


Read first letter of each line of a .txt file
Given an input .txt file, how can I extract the first letter of each line of that file. Ex: file.txt is I’ve worn a black...

9년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Evalaute a string left to right
Given an input string that represents a function (like 'f(x) = x^2 +2/2x+3') and a input value (like x=2), how can I evaluate so...

9년 초과 전 | 답변 수: 1 | 0

1

답변

답변 있음
Fibonacci sequence, slightly different.
If he beginning number were 0, how could I make it so the first index in the output vector is 0, then the sequence continues nor...

9년 초과 전 | 0

질문


Fibonacci sequence, slightly different.
I am trying to write a code for the fibonacci sequence, but instead of adding the the term to its previous one, I want a number ...

9년 초과 전 | 답변 수: 4 | 0

4

답변

질문


Check for array equality?
How can I check if indices of three arrays are equal and make those indices all zero if they are equal.

9년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Replace NaN with corresponding elements in another array.
I can find the locations of all the NaNs in an array, but how can I replace those elements with the corresponding elements of an...

9년 초과 전 | 답변 수: 1 | 1

1

답변

질문


Test multiple vectors for eqaulity.
If given an x amount of logical vectors, where all the logicals are the same in each vector, except 1 vector that may have one (...

9년 초과 전 | 답변 수: 0 | 0

0

답변

질문


Combine three logical statements.
I am trying to find if a certain string meets three specific requirements. I know how to test for each requirement individually,...

9년 초과 전 | 답변 수: 0 | 0

0

답변

질문


Search for elements in a string
I am trying to find whether a certain string of letters and special characters ( like /) and then output true if it does and fal...

9년 초과 전 | 답변 수: 6 | 0

6

답변