Community Profile

photo

sai vasavi


Actif depuis 2011

Followers: 0   Following: 0

Contact

Statistiques

All
  • Thankful Level 1
  • Solver

Afficher les badges

Feeds

Afficher par

Question


writing tlc file for level 2 m file s function which accessing guidata
Hello Matlab users, I have written m file s function which takes checkbox selection input and this input signal enables ...

presque 11 ans il y a | 1 réponse | 0

1

réponse

Question


Problem in creating .dll from simulink model
Hi, I developed one simulink which include S function builder which links to C code.Now I want to generate .dll from that model...

environ 11 ans il y a | 1 réponse | 0

0

réponse

Question


Problem in creating .obj files using mex command in matlab
Hello, I have developed one project in C.In that project so many modules are there and it is organised based on that module.The...

environ 11 ans il y a | 1 réponse | 0

0

réponse

Question


segmenation violatio error while simulating s function builder
Hi, I have one algorithm which is developed in C.In C project,main() is calling all the other methods required.Now I am trying...

environ 11 ans il y a | 1 réponse | 0

1

réponse

A résolu


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

plus de 11 ans il y a

A résolu


How to find the position of an element in a vector without using the find function
Write a function posX=findPosition(x,y) where x is a vector and y is the number that you are searching for. Examples: fin...

plus de 11 ans il y a

A résolu


Program an exclusive OR operation with logical operators
Program an exclusive or operation *without* using the MATLAB function xor. Use logical operators like |, &, ~, ... instead. ...

plus de 11 ans il y a

A résolu


Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

plus de 11 ans il y a

A résolu


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

plus de 11 ans il y a

A résolu


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

plus de 11 ans il y a

A résolu


Check if sorted
Check if sorted. Example: Input x = [1 2 0] Output y is 0

plus de 11 ans il y a

A résolu


Arrange Vector in descending order
If x=[0,3,4,2,1] then y=[4,3,2,1,0]

plus de 11 ans il y a

A résolu


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

plus de 11 ans il y a

A résolu


Reverse the vector
Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]

plus de 11 ans il y a

A résolu


Swap the input arguments
Write a two-input, two-output function that swaps its two input arguments. For example: [q,r] = swap(5,10) returns q = ...

plus de 11 ans il y a

A résolu


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

plus de 11 ans il y a

A résolu


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

plus de 11 ans il y a

A résolu


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

plus de 11 ans il y a

Question


Creation of C file S-function using S function builder
Hello Matlab Community, I developed one algorithm in C.Now I want to create S function for those C files to use that code i...

plus de 11 ans il y a | 1 réponse | 0

1

réponse

A résolu


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

plus de 11 ans il y a

Question


Generation of executables from simulink model
Hello matlab users, I developed one stateflow model and GUI to interact with simulink model.Now I want to generate .exe for tha...

plus de 11 ans il y a | 1 réponse | 0

1

réponse

Question


developing GUI using guide to interact with simulink model
Hi, I developed one model in simulink.Now i want to display those output values and also some intermediate values in gui while ...

plus de 11 ans il y a | 2 réponses | 0

2

réponses

Question


running python script in matlab
Hi, I have one python script and i want to execute that in matlab.I tried with system in matlab. s=system('python trail.py 3')...

presque 12 ans il y a | 1 réponse | 1

1

réponse

Question


Creation mixed level orthogonal arrays for orthogonal array testing in matlab
Hello, Please can anyone help me to create mixed level orthogonal arrays for given number of input parameters for orthogon...

presque 12 ans il y a | 1 réponse | 0

1

réponse

Question


Lex error in stateflow
Hi everybody, I'm trying to implement temporal logic in state flow but i'm getting lex error -syntax error in chart. pleas...

presque 13 ans il y a | 1 réponse | 0

1

réponse

Question


How to debug C Mex files in Matlab without in built compiler
I have Cygwin compiler in my system.how debug C mex files in matlab with this compiler. please can anyone help me.plz

presque 13 ans il y a | 1 réponse | 0

1

réponse