Community Profile

photo

Jason


55 total contributions since 2016

Contact

Jason's Badges

  • Thankful Level 2
  • Solver

View details...

Contributions in
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...

más de 4 años 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 ...

más de 4 años 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

más de 4 años 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?

más de 4 años 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...

más de 4 años 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...

más de 4 años 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...

más de 4 años 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...

más de 4 años 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...

más de 4 años 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...

más de 4 años 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".

más de 4 años 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 ...

más de 4 años 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...

más de 4 años 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...

más de 4 años 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? [...

más de 4 años 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?

más de 4 años ago | 1 answer | 0

1

answer

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 + ...

más de 4 años 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...

más de 4 años 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...

más de 4 años 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...

más de 4 años 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...

más de 4 años 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...

más de 4 años 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...

más de 4 años 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...

más de 4 años ago

Solved


inner product of two vectors
inner product of two vectors

más de 4 años 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...

más de 4 años 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...

más de 4 años 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 ...

más de 4 años 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...

más de 4 años 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...

más de 4 años ago

Load more