Community Profile

photo

muhammad saad malik


Last seen: meer dan 3 jaar ago Active since 2015

Followers: 0   Following: 0

Statistics

All
  • Solver
  • Thankful Level 3

View badges

Feeds

View by

Solved


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

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

meer dan 3 jaar ago

Solved


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

meer dan 3 jaar ago

Solved


Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Examp...

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

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

meer dan 3 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 3 jaar ago

Question


How to measure rms value of chopped sine wave in Simulink?
I have a chopped sine wave i.e. unipolar SPWM at my output and I have used the DRMS block, rms block in SimPowerSystems and rms ...

bijna 8 jaar ago | 0 answers | 0

0

answers

Question


Measured rms value through Simulink with STM32F407 is varying very slowly after changing input?
I am using STM32F407 microcontroller with Simulink. After taking the input samples through ADC i convert it to voltage and then ...

ongeveer 8 jaar ago | 2 answers | 0

2

answers

Question


how to measure rms value of a voltage signal taken as input from the ADC of microcontroller?
I am using an STM32F407 microcontroller with Simulink. I have the ADC through which i take my AC signal but i need to measure th...

ongeveer 8 jaar ago | 0 answers | 0

0

answers

Question


"download failed: read timed out" error while downloading embedded coder support package
i am trying to download embedded coder hardware support package for stm32f4. when it reaches to the download stage, it gives an ...

ongeveer 8 jaar ago | 0 answers | 0

0

answers

Question


How to install your microcontroller board when using simulink desktop real time?
I am currently working on a project which requires real time programming. I have seen Simulink Desktop real time library which c...

ongeveer 8 jaar ago | 0 answers | 0

0

answers

Question


SimElectronics components not getting connected with subsystem output port?
i am trying to connect an optocoupler(SimElctronics component) within a subsystem to the output port of the subsystem but red wi...

meer dan 8 jaar ago | 0 answers | 0

0

answers

Question


how to convert a voltage signal to a simulink signal
i have converted the simulink signal to voltage signal using controlled voltage source block but i need to convert it again to t...

bijna 9 jaar ago | 1 answer | 0

1

answer

Question


is current voltage simscape interface present in matlab R2009a?
is the current voltage simscape interface block present in matlab R2009a. If so, please tell me the library it is in(the whole p...

bijna 9 jaar ago | 1 answer | 0

1

answer

Question


Can we join components of SimPowerSystems with that of simElectronics?
Can we join components of SimPowerSystems with that of simElectronics. If yes, then how? Because a red wire appears when i try t...

bijna 9 jaar ago | 1 answer | 1

1

answer

Question


red wire problem in npn, pnp and ground
i am trying to connect a combination of npn and pnp with their emitters connected to a ground but red wire appears. Moreover, th...

bijna 9 jaar ago | 1 answer | 0

1

answer

Question


totem pole in matlab
I am doing a simulation with models from simPowerSystems library. I want to embed a totem pole driver in my circuit. Is there an...

bijna 9 jaar ago | 1 answer | 0

1

answer

Question


how to embed PI controller code in a simulink model
I am try to design a controller which will measure the output voltage, compare it with a reference value and then according to t...

bijna 9 jaar ago | 0 answers | 0

0

answers

Question


embedded matlab function problem
i have written a code for generating PWM using embedded matlab function. the plot is showing fine results. i want to control the...

bijna 9 jaar ago | 0 answers | 0

0

answers

Question


simulink problem: a red wire appears rather than a simple one when tried to connect 'scope' to a simple circuit
i am doing simulation using blocks from simpower systems library, but when i tried to connect a 'scope' with a simple circuit ...

bijna 9 jaar ago | 1 answer | 0

1

answer

Question


simulink model giving error: the diagram must contain a power gui block
what is the need of a power gui block? explain it please

bijna 9 jaar ago | 1 answer | 0

1

answer

Question


how to feed an IGBT in simulink with pulses where pulses are generated by m-file code?
i am using an embedded matlab function to generate pwm pulses, but when the output of embedded matlab function which is an array...

bijna 9 jaar ago | 0 answers | 0

0

answers

Question


embedded matlab function error
in embedded matlab function file error is Undefined function or variable 'y'. The first assignment to a local variable det...

bijna 9 jaar ago | 1 answer | 0

1

answer