Community Profile

# omar khater

Last seen: 2 years ago Active since 2016

All

View badges

#### Content Feed

View by

Solved

Project Euler: Problem 1, Multiples of 3 and 5
If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23...

4 years ago

Question

Why do I get non integer results from MILP problem ?
I have a script for diet linear programming problem. I am trying to compare results of linearprog or(intlinprog) with results of...

4 years ago | 0 answers | 0

### 0

answers

Question

Struct contents reference from a non-struct array object in simulink
Hello, I have simple simulink circuit like this when I run the simulation this error appears I tried to search about th...

4 years ago | 0 answers | 0

### 0

answers

Question

How can I convert table of chars to array of strings?
Hello, I have table variable (Input_table) like this ''1'' ''8'' ''2'' ''5'' '1' '1' ''Z'' ''F'' ''1'' ''3'' ''C'' ''5'' ''Y'...

4 years ago | 3 answers | 1

### 3

answers

Answered
FITCKNN with large data sets?
Do anyone know how to solve this problem?

4 years ago | 0

Question

FITCKNN with large data sets?
Hello, I have some dataset with size of 39366*9 table which I need to apply KNN regression. My problem arises when I use all t...

4 years ago | 1 answer | 0

### 1

answer

Question

What is the fastest way to run same simulink model multiple times ?
If I have a large dataset say 6000 rows of data that I need to evaluate simulink model at each point Currently I use for loop ...

4 years ago | 1 answer | 0

### 1

answer

Question

what is the best way to perform multiple calculation in simulink project ?
Hello I am a beginner in simulink. I have very simple circuit that I want to simulate like this I wish to enter multiple v...

5 years ago | 1 answer | 0

### 1

answer

Solved

Is my wife right?
Regardless of input, output the string 'yes'.

6 years ago

Solved

Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

6 years ago

Question

How to change the axis location for multiple subplots ?
I try to change the axis location for 2 subplots when I entered this code n = [-5:5]; x = 2*impseq(-2,-5,5) - impseq...

6 years ago | 2 answers | 0

### 2

answers

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

6 years ago

Solved

Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...

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

6 years ago

Solved

Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

6 years ago

Solved

Add two numbers
Given a and b, return the sum a+b in c.

6 years ago

Solved

Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

6 years ago

Solved

Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

6 years ago

Solved

Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

6 years ago

Question

why do i get this untitled error ?
this is the function code function dd=day_diff(month1, day1, month2, day2) if((month1 >12) ||( month2>12) || (day1 >...

7 years ago | 1 answer | 0

answer