photo

Jason


Active since 2016

Followers: 0   Following: 0

Message

Statistics

All
  • Thankful Level 3
  • Solver

View badges

Feeds

View by

Question


Write one year date into a excel?
If I want to write one year date into a excel, like year 2016. I have no idea how to code in matlab. Thanks 1/1/2016 1/2...

8 years ago | 1 answer | 0

1

answer

Question


Combine the subplot into a one plot
I have a for-loop, in each loop, it will draw a plot. How can I combine those each plot in a big plot? I mean how to combine ...

8 years ago | 1 answer | 0

1

answer

Question


How to insert a 50% image into this original image
I have a image, then I get 50% of this image, how to I insert this 50% image to the original image? Steganalysis

8 years ago | 1 answer | 0

1

answer

Question


How to get 1% of the image?
After I load a image, how do we get the 1% of the image?

8 years ago | 1 answer | 0

1

answer

Question


LSB watermark and LSB replacement difference?
Is those two are the same concept or any relationship between them? I search online and could not find any useful information. T...

8 years ago | 1 answer | 0

1

answer

Question


How to solve override writing file problem?
I have try-catch in my code, when I catch the error, I write the error information to a file, but it always override the previou...

8 years ago | 1 answer | 0

1

answer

Question


!!!Very challenge - copy one row to following two row
I have a excel file, in row 11, I have some headers. A11 is Date, B11 is Time, C11-G11 is P1 to P5. Starts row 12, there are da...

8 years ago | 1 answer | 0

1

answer

Question


How to write error information into a file
For the following code, if we catch a error, how do I do so that the error information('Inconsistent data in iteration %s, skipp...

8 years ago | 1 answer | 0

1

answer

Question


Count another directory subfolder
Now I am in a script under "C:\User\Jason\MATLAB". In this script, I want to count how many subfolder in another directory 'C:\U...

8 years ago | 1 answer | 0

1

answer

Question


How to skip error and continue to execute the code
I have a for loop, but when I faced the following error, my script will stop executing. How can I do to skip the error and conti...

8 years ago | 2 answers | 0

2

answers

Solved


The Hitchhiker's Guide to MATLAB
Output logical "true" if the input is the answer to life, the universe and everything. Otherwise, output logical "false".

8 years ago

Question


Whether ADD SEMICOLON for output will reduce execution time?
If my code compute data for 1 day. If I ADD SEMICOLON after the statements, means nothing display in Command Windows, does this ...

8 years ago | 1 answer | 0

1

answer

Question


Copy file to a new folder
Under a folder, I have a lot of .mat. "19800101.mat", "19800102.mat", ......."19800201.mat", "19800202.mat", ......"19801201.mat...

8 years ago | 3 answers | 0

3

answers

Question


Write 10 excel for loop
Now I have one original.xlsx, I want to write Data in Sheet1 from E1. xlswrite('Original.xlsx',Data,'Sheet1','E1') How d...

8 years ago | 2 answers | 0

2

answers

Question


Reduce computing time of these code
The following code takes 98.5% computing time of a script. Is there any code can be rewritten to improve time efficiency? [...

8 years ago | 0 answers | 0

0

answers

Question


How to count how many sub folders under a folder
In a folder, there are many sub folder, how do we count how many sub folder they are?

8 years ago | 2 answers | 0

2

answers

Solved


Summing digits
Given n, find the sum of the digits that make up 2^n. Example: Input n = 7 Output b = 11 since 2^7 = 128, and 1 + ...

8 years ago

Solved


Find the numeric mean of the prime numbers in a matrix.
There will always be at least one prime in the matrix. Example: Input in = [ 8 3 5 9 ] Output out is 4...

8 years ago

Solved


Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the other numbers. Otherwise return false. E...

8 years ago

Solved


Fibonacci sequence
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Inpu...

8 years ago

Solved


Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Examp...

8 years ago

Solved


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

8 years ago

Solved


Return the 3n+1 sequence for n
A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...

8 years ago

Solved


Remove the vowels
Remove all the vowels in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill' Output s2 is 'Jck nd Jll wn...

8 years ago

Solved


inner product of two vectors
inner product of two vectors

8 years ago

Solved


Back and Forth Rows
Given a number n, create an n-by-n matrix in which the integers from 1 to n^2 wind back and forth along the rows as shown in the...

8 years ago

Solved


Create times-tables
At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...

8 years ago

Solved


Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

8 years ago

Solved


Remove any row in which a NaN appears
Given the matrix A, return B in which all the rows that have one or more <http://www.mathworks.com/help/techdoc/ref/nan.html NaN...

8 years ago

Solved


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

8 years ago

Load more