Community Profile

photo

Jason


Con actividad desde 2016

Estadísticas

All
  • Thankful Level 3
  • Solver

Ver insignias

Content Feed

Ver por

Pregunta


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

casi 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

casi 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

casi 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

casi 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 8 años hace | 2 respuestas | 0

2

respuestas

Resuelto


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

alrededor de 8 años hace

Pregunta


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

alrededor de 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 8 años hace | 3 respuestas | 0

3

respuestas

Pregunta


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

alrededor de 8 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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? [...

alrededor de 8 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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?

alrededor de 8 años hace | 2 respuestas | 0

2

respuestas

Resuelto


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

alrededor de 8 años hace

Resuelto


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

alrededor de 8 años hace

Resuelto


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

alrededor de 8 años hace

Resuelto


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

alrededor de 8 años hace

Resuelto


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

alrededor de 8 años hace

Resuelto


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

alrededor de 8 años hace

Resuelto


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

alrededor de 8 años hace

Resuelto


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

alrededor de 8 años hace

Resuelto


inner product of two vectors
inner product of two vectors

alrededor de 8 años hace

Resuelto


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

alrededor de 8 años hace

Resuelto


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

alrededor de 8 años hace

Resuelto


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

alrededor de 8 años hace

Resuelto


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

alrededor de 8 años hace

Resuelto


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

alrededor de 8 años hace

Cargar más