This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function y = HL(x) | |
x2 = x(x >= -60 & x <= 60); | |
y(find(x >= -60 & x <= 60))= exp(-1i *((2*pi)/30 * x2)); | |
y(find(x > 60 | x < -60)) = 0; | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.vjames19; | |
/** | |
* Created by vjames19 on 3/16/15. | |
*/ | |
public class LargestBlockOfOnes { | |
public static int[] largestBlockOfOnes(int[] a, int low, int sup) { | |
if (low > sup) { | |
return new int[] {-1, -1}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdlib.h> | |
#include <string.h> | |
#include "msp430.h" | |
#define TXD BIT2 | |
#define RXD BIT1 | |
unsigned int CV = 0; | |
unsigned int DV = 0; | |
unsigned int RO = 0; |
NewerOlder