Community Profile

photo

Kratos


Georgia Institute of Technology

Active since 2014

Statistics

  • Thankful Level 3

View badges

Content Feed

View by

Question


is there a way to put an image as a background on a 3d plot?
Hello I have a plot with multiple spheres and I would like to add something(maybe stars) on the background of the plot. I ...

9 years ago | 1 answer | 0

1

answer

Question


how to find a sub image in an image and converting it to grayscale?
Hello, I have an image and a sub image which is cropped out of the image. (img, img_w) val1 = imread(img); v...

9 years ago | 1 answer | 0

1

answer

Question


How to find the derivative of a polynomial fit?
Hello I have to plot 4 different subplot with the data provided. I plotted 3 of them(original, polynomial fit and integral), ...

9 years ago | 1 answer | 0

1

answer

Question


how to count the total number of recursion ?
Hello I have a function function [out num] = collatz(val) num = 0; if val == 1 out = 1; elseif ...

9 years ago | 1 answer | 0

1

answer

Question


Finding most frequent element in a cell array without using unique function?
Hello I am stuck trying to figure small block of code. I have cell array of repeating strings and numbers(class double) corres...

9 years ago | 1 answer | 0

1

answer

Question


Extracting the whole column from excel file and putting it in a new excel file?
Hello I have excel file that contains the things that I need and things that I don't. text1.xls Jshgfy Kashs Klaksh Item ...

9 years ago | 1 answer | 0

1

answer

Question


How do I replace a word in a string with ****?
Hello I have a text file where I am supposed to compare the strings in the text file with the words in another text file. After ...

9 years ago | 1 answer | 0

1

answer

Question


How to include a punctuation in a string?
Hello I have a text file which has 1-34-4-2 2-20-3-5 2-13-10-6 1-7-1-13 2-28-6-1 2-40-12-3 2-54-2-3 1-21-3-6 ...

9 years ago | 0 answers | 0

0

answers

Question


How do I compare a string with a #single word?
Hello I am trying to compare a string with 'word'. for example if the word ‘retro’ is in the text file, and ‘#retro’ appear in...

9 years ago | 3 answers | 0

3

answers

Question


How do I ignoring '\n' at the end of the text file that was created?
Hello I created a text file called phonenumbers using the strings that gave true for the condition that I set. I used fpri...

9 years ago | 1 answer | 0

1

answer

Question


How do I access reference text file? Low Level I/O
Hello, I am trying to do this "The reference filenames will always be formatted as ‘<input1>_#.txt’. For example, if the first i...

9 years ago | 1 answer | 0

1

answer

Question


How do I compare the numbers that I have with the given pattern?
Say I have bunch of phone numbers which are strings in parentheses and it has to be in this format (XXX-XXX-XXXX). How do I know...

9 years ago | 2 answers | 0

2

answers

Question


Why is my code giving an empty vector?
The code that I have below works perfectly find when I do it in command window without using the while loop. I have to do it for...

9 years ago | 1 answer | 0

1

answer

Question


How do I get an element from a string?
Say I have a vector representing a row and column which is (5,6) and I have a vec = (5,6); string = ['oNTitsr ...

9 years ago | 1 answer | 0

1

answer

Question


I need help using the strrep for this code.
here are the three test cases. My question is how do I use strrep to replace the x of that function. The thing is it doesn't hav...

9 years ago | 1 answer | 0

1

answer

Question


How to replace the string using strrep?
say I have a str = 'f(x) = 2*x^3' or 'fun(var_name) = 2*var_name^3' and I have a value of 3(val = 3) how do I make sure t...

9 years ago | 1 answer | 0

1

answer

Question


Finding an average of 1XN vector using iteration.
I am trying iterate a 1xN vector but I am having a hard time setting up the loop for the question below. To do this, find...

9 years ago | 0 answers | 0

0

answers

Question


I can't figure out what is wrong with the code. MATLAB
function y = camelCase(x) %camelCase Convert name with spaces to camelCase. y(1) = lower(x(1)); % find t...

9 years ago | 1 answer | 0

1

answer

Question


I can't figure out my mistake (conditional)
Can someone please help? It keeps saying Undefined function or variable "domIndex" Error in personalityTest line 38 ...

9 years ago | 1 answer | 0

1

answer

Question


Strings ASCII and character mapping Questions
Can someone help me. I have been stuck for thinking about it forever. 1. ASCII and character mapping. What are the ascii valu...

9 years ago | 1 answer | 0

1

answer

Question


Creating a mask using mod()
How to use mod() to create a mask of where A contains an even number? C = How to replace values with a mask. Using your m...

9 years ago | 1 answer | 0

1

answer

Question


Using mask and creating array
Hello, 1. How do I linearize Linearize variable A that should go from a MxN array to a (M*N)x1 column vector. The new (M*N)x1 ...

9 years ago | 1 answer | 0

1

answer

Question


finding the area using Shoelace Polygon formula
function area = shoelace (x,y) n = length(x); area = 0; for i = 1 : n-1 area = area + (x(i) + x(i+1)) * (y(i) - ...

9 years ago | 1 answer | 0

1

answer

Question


Even vs Odd Vector
write a function that outputs a vector of only the odd indices of the input vector if that input's length is odd. if the input's...

9 years ago | 1 answer | 0

1

answer