photo

Jason


Attivo dal 2016

Followers: 0   Following: 0

Messaggio

Statistica

All
  • Thankful Level 3
  • Solver

Visualizza badge

Feeds

Visto da

Domanda


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

oltre 8 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 8 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 8 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 8 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 8 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 8 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 8 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 8 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 8 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 8 anni fa | 2 risposte | 0

2

risposte

Risolto


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

oltre 8 anni fa

Domanda


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

oltre 8 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 8 anni fa | 3 risposte | 0

3

risposte

Domanda


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

oltre 8 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 8 anni fa | 0 risposte | 0

0

risposte

Domanda


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?

oltre 8 anni fa | 2 risposte | 0

2

risposte

Risolto


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

oltre 8 anni fa

Risolto


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

oltre 8 anni fa

Risolto


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

oltre 8 anni fa

Risolto


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

oltre 8 anni fa

Risolto


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

oltre 8 anni fa

Risolto


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

oltre 8 anni fa

Risolto


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

oltre 8 anni fa

Risolto


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

oltre 8 anni fa

Risolto


inner product of two vectors
inner product of two vectors

oltre 8 anni fa

Risolto


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

oltre 8 anni fa

Risolto


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

oltre 8 anni fa

Risolto


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

oltre 8 anni fa

Risolto


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

oltre 8 anni fa

Risolto


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

oltre 8 anni fa

Carica altro