M.Tech

Question

Is there any difference if you call 2 level s-function at 10 multiple instances and 10 different 2 level s-functions with same code but different variable names?

Hi, Will there be any difference in the execution speed of simulation if you call 2 level s-function at 10 multiple instances...

28 dagen ago | 0 answers | 0

Question

Same variable names in different level2 s-functions or multiple instances of same level2 s-function will be stored separately?

Hi, I am writing level 2 s functions for c code and I am using the same s function multiple instances or I will make differen...

29 dagen ago | 0 answers | 0

Question

when we try to commutate thyristor (simulink block), why current becomes zero instantaneously not after turn off time?

I tried to commutate thyristor by applying negative voltage across it for duration of Turn off time. but it is becoming zero sud...

meer dan 3 jaar ago | 0 answers | 0

Question

How to tune PI controller using tune option?

It is showing plant cannot be linearized

bijna 4 jaar ago | 0 answers | 0

Problem

How to Concatenate two strings?

How to Concatenate two strings?

meer dan 4 jaar ago | 0 | 41 solvers

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

meer dan 4 jaar ago

Answered

How to find Y bus for a give nth order system?

Use makeYbus function or use below code % Program to for Admittance And Impedance Bus Formation.... function Y = y...

How to find Y bus for a give nth order system?

Use makeYbus function or use below code % Program to for Admittance And Impedance Bus Formation.... function Y = y...

meer dan 4 jaar ago | 3

| accepted

Solved

how to create zero square matrix with given order?

y-Zero square matrix with given input order x.

meer dan 4 jaar ago

Solved

how to find unique values in matrix

how to find unique values in matrix for give x matrix.

meer dan 4 jaar 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:...

meer dan 4 jaar ago

Answered

In Simulink all waveforms on scope not comming properly?

In simulation menu --->model configuration parameters Change type to fixed step and try it wil come put time step less than 50us...

In Simulink all waveforms on scope not comming properly?

In simulation menu --->model configuration parameters Change type to fixed step and try it wil come put time step less than 50us...

meer dan 4 jaar ago | 2

| accepted

Answered

How to turn off all results in matpower?

mpoption('verbose',0,'out.all',0)

How to turn off all results in matpower?

mpoption('verbose',0,'out.all',0)

meer dan 4 jaar ago | 4

| accepted

Solved

Create a row array using double colon operator

Create a row array from 9 to 1, using the double colon operator.

meer dan 4 jaar ago

Solved

Simple equation: Annual salary

Given an hourly wage, compute an annual salary by multiplying the wage times 40 and times 50, because salary = wage x 40 hours/w...

meer dan 4 jaar ago

Solved

Circle area using pi

Given a circle's radius, compute the circle's area. Use the built-in mathematical constant pi.

meer dan 4 jaar ago

Solved

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.

meer dan 4 jaar ago

Solved

radius of a spherical planet

you just measured its surface area, that is the input.

meer dan 4 jaar ago

Solved

Weighted average

Given two lists of numbers, determine the weighted average. Example [1 2 3] and [10 15 20] should result in 33.333...

meer dan 4 jaar ago

Answered

How to change branch and generator in case file data in MATPOWER?

Load the case data into mpc and access struct variables gen and branch using mpc like mpc.branch, mpc.gen so that you can do op...

How to change branch and generator in case file data in MATPOWER?

Load the case data into mpc and access struct variables gen and branch using mpc like mpc.branch, mpc.gen so that you can do op...

meer dan 4 jaar ago | 2

| accepted

Solved

Basic commands - Least common multiple

Make a function which will return least common multiple of "a" and "b" Example: a=8; b=6; y=24;

meer dan 4 jaar ago

Solved

Change string to number

Change given string to number. (hint: there is already function) Changing from ['1234'] to [1234] is one of example

meer dan 4 jaar ago

Submitted

factorization paths for Y BUS

Factorization paths in sparsity techniques

meer dan 4 jaar ago | 1 download |

Answered

Why is the factorial of 0 equal to 1?

Simple program: n = 0; f = 1; for i = 1:n f = f*i; end f you can get 0!=1 for n=0; Theor...

Why is the factorial of 0 equal to 1?

Simple program: n = 0; f = 1; for i = 1:n f = f*i; end f you can get 0!=1 for n=0; Theor...

meer dan 4 jaar ago | 1

Answered

What are the shortcuts for switching between non-adjacent open files in the MATLAB editor

Alt-Tab to shift between applications and Ctrl-Tab to shift between documents

What are the shortcuts for switching between non-adjacent open files in the MATLAB editor

Alt-Tab to shift between applications and Ctrl-Tab to shift between documents

meer dan 4 jaar ago | 0

Question

how retain value of variable in memory between calls to the function?

Hi, I am doing sorting every time when function called it should retain its value not like once function job over value of va...

meer dan 4 jaar ago | 2 answers | 0

Solved

Pizza!

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

meer dan 4 jaar ago