Community Profile

# FRANCISCO JAVIER

Last seen: 1 year ago Active since 2013

All

#### Content Feed

View by

Question

save changes in variable pass in timer function
I want to change the value of a variable ( Precio) that i pass to a function in a timer. In the following call that variable don...

1 year ago | 0 answers | 0

### 0

Question

running two guide in real time
I have two guides. In the firs guide i have a timer that read datas that charge in a second guide. How can run the second guide ...

1 year ago | 0 answers | 0

### 0

Question

trigger when the clock change the hour
I want to put condition for loading data when the clock changes time, for example, when the time changes from 16:00 to 17:00. A...

1 year ago | 1 answer | 0

### 1

Question

switch when the clock is on point
I want to put a condition when the clock changue the hour, i do that is bellow, but i want to know is there is other way to do t...

1 year ago | 0 answers | 0

### 0

Question

How can reduce code?
I want to reduce the following code, where ind_cond is sub-set that satisfy cetain conditions. Someone can help me, please? ...

1 year ago | 1 answer | 0

### 1

Question

Delete all rows in a Table in a guide
When i delete all rows in a table in a guide, the header of the colws also dissapear, but i want maint it in the guide? How can...

2 years ago | 0 answers | 0

### 0

Question

how can i get the intersection of two step curves?
how can obtain the intersection of two step curves

2 years ago | 1 answer | 0

### 1

Solved

Replace secondary diagonal elements of a square array
Replace all the secondary diagonal elements of the square array A with the number n Example: A=[1 2 3; 4 5 6; 7 8 ...

7 years ago

Solved

Matrix of almost all zeros, except for main diagonal
Write a program to input an integer n and build a n-by-n matrix with the numbers 1,2,...,n on the main diagonal and zeros elsewh...

7 years ago

Solved

Polynomial Evaluation
Create a routine that takes a list of coefficients of a polynomial in order of increasing powers of x; together with a value of ...

7 years ago

Solved

Compute Fibonacci Number
Compute the _n_-th Fibonacci Number f(0) = 0, f(1) = 1, f(2) = 1, f(3) = 2, ... f(42) = 267914296

9 years ago

Solved

Remove the middle element from a vector
Remove the middle element of a vector? *Example:* [1,2,3] should return 2 [1,2,3,4] should return 2 [] should return...

9 years ago

Solved

Palindrome
Check if a given string is a palindrome or not. For example, a = 'amoreroma' is a palindrome. But b = 'xyz' is not. Return...

9 years ago

Solved

Power of n ?
Determine if _x_ (positive integer) is a power of _n_, return true or false accordingly.

9 years ago

Solved

GJam 2013 Veterans: Ocean View (Small)
This Challenge is derived from <http://code.google.com/codejam/contest/2334486/dashboard#s=p2 GJam 2013 Veterans Ocean View>. Th...

9 years ago

Solved

Kaggle: Reverse Game of Life - Periods of Oscillators
<http://www.kaggle.com/c/conway-s-reverse-game-of-life Kaggle's Conway's Reverse Game of Life> contest inspires this Period of L...

9 years ago

Solved

Self-Description
This is a simplified version of the <http://xkcd.com/688/ *xkcd comic* by the same name>. Simply return the angle (in degrees...

9 years ago

Solved

Simple Caesar Cypher - shift encrypt a message given an index number
A Caesar cypher is a simple shift encryption method. Your goal is to create a function that allows a user to input a string and ...

9 years ago

Solved

Finding neighbors of [-1:1] in a matrix....
Hello All! Well I found this one fun to figure out, all you have to do is make a matrix of 1's or 0's (true or false) that sh...

9 years ago

Solved

German tank problem
The <http://en.wikipedia.org/wiki/German_tank_problem German tank problem> is a well-known statistical problem that attempts to ...

9 years ago

Solved

Add a row of zeros on top of a matrix
Given a matrix, insert a row of zeros as the top row.

9 years ago

Solved

Check if equal
Return true if all the elements of an nD array are equal, false otherwise.

9 years ago

Solved

Count decimal digits of a number
* Given an integer number you have to return the number of its digits. * For example 248 has 3 digits and 1589 has 4 digits ...

9 years ago

simple "While Loop" questions
function [vslSave]=prueba(x) vsl=x; vslSave=[]; while vsl<=10 if vsl >=0.001 && vsl<=0.01 increment ...

9 years ago | 0

Solved

Fibonacci-Sum of Squares
Given the Fibonacci sequence defined by the following recursive relation, * F_n = F_(n-1) + F_(n-2) * where F_0 = 0 and F_1 ...

9 years ago

Solved

Signed Magnitude
For a given input vector, return the value that is furthest from zero. For example, if x = [1 2 -12] return -12.

9 years ago

Question

How count pulse when go up in simulink?
How count pulse when go up in simulink, to obtaint the speed of the motor throught a encoder that emits 50 pulses for revolution...

9 years ago | 1 answer | 0

### 1

Solved

That's some divisor you've got there...
Given a positive integer x, calculate the sum of all of the divisors of the number. Please include the number itself in your fi...

9 years ago

Solved

GJam 2014 China Rd B: Sudoku Checker
This Challenge is derived from <http://code.google.com/codejam/contest/2929486/dashboard#s=p0 GJam 2014 China Sudoku>. Large Cas...

9 years ago