Solved


How many Fibonacci numbers?
Find the number of unique Fibonacci numbers (don't count repeats) in a vector of positive integers. Example: x = [1 2 3 4...

3 months ago

Answered
How to easily find Simscape Electrical blocks equivalent to previous Specialized Power System blocks?
Hi @Juan, It would not be easy process after sharing your concerns about migrating your *grid-forming BESS model* from *Speci...

3 months ago | 1

| accepted

Answered
Model meat through a freezer
Hi @Jason, It is finally good to see that you got the constant mass approach working. So about modeling the chicken actually ...

3 months ago | 0

Answered
Square voltage source and inductors.
Hi @Michel, I took a look at your circuit diagram — The reason you can’t connect the square-wave (Pulse Generator) output to ...

3 months ago | 0

Answered
in my simulink,used for voltage stabilization which used dvr in flc,here the output have some issues the vload and vinj? so can u help me, vload would be proper sine wave?
Hi @Faria, I went though all your recent comments and screenshots, looking at latest simulink block diagrams, you have starte...

3 months ago | 1

Solved


Write c^3 as sum of two squares a^2+b^2
write c^3 as sum of two squares a^2+b^2. a and b must be integer and greater than zero. For example 5^3 = 2^2 + 11^2 5...

3 months ago

Solved


Is it really a 5?
A number containing at least one five will be passed to your function, which must return true or false depending upon whether th...

3 months ago

Solved


Pernicious Anniversary Problem
Since Cody is 5 years old, it's pernicious. A <http://rosettacode.org/wiki/Pernicious_numbers Pernicious number> is an integer w...

3 months ago

Answered
I am trying to model a 1/2 car model in Simulink but it has heave and no pitch.
Hi @Sarah, Looking at your model diagram, I can see you've got the basic structure set up nicely with separate front and rear...

3 months ago | 0

| accepted

Answered
radar IWR6843ISK
Hi @muhammed kadir, I can guide you which will help you out over here. So, it sounds like you already have the *right hardwar...

3 months ago | 0

| accepted

Answered
Why am I getting a near 0 current in the flyback converter?
Hi @Carlos, After going through your plots and comments, I would like to pinpoint some important points which are critical an...

3 months ago | 2

Answered
in my simulink,used for voltage stabilization which used dvr in flc,here the output have some issues the vload and vinj? so can u help me, vload would be proper sine wave?
Hi @Faria, I looked closely at your Simulink setup and the waveforms you shared, after doing thorough research — the noisy *V...

3 months ago | 1

| accepted

Answered
Typo in Bicycle Kinematics/Steering Angle Equation?
Hi @Pablo, Good eye — that last row in the bicycle kinematics matrix does look off. After checking the math, it seems the doc...

3 months ago | 1

Solved


Extra safe primes
Did you know that the number 5 is the first safe prime? A safe prime is a prime number that can be expressed as 2p+1, where p is...

3 months ago

Solved


Find the nearest prime number
Happy 5th birthday, Cody! Since 5 is a prime number, let's have some fun looking for other prime numbers. Given a positive in...

3 months ago

Solved


Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock.
Submit your answer to this problem a multiple of 5 seconds after the hour. Your answer is irrelevant; the only thing that matte...

3 months ago

Solved


MATLAB Counter
Write a function f = counter(x0,b) to construct a counter handle f that counts with an initial value x0 and a step size b. E...

3 months ago

Solved


Is the Point in a Triangle?
Check whether a point or multiple points is/are in a triangle with three corners Points = [x, y]; Triangle = [x1, y1; x2, y...

3 months ago

Answered
Initial parameter settings for the simulation model with DFIG
Hi @Thuong, Thanks for sharing your comments and the screenshot from your Powergui Load Flow run. I reviewed the image ...

3 months ago | 0

Solved


Missing five
Convert decimal numbers to a base-9 notation missing the digit *5* <<http://www.alfnie.com/software/missing5.jpg>> Too man...

3 months ago

Solved


Polarisation
You have n polarising filters stacked one on top of another, and you know each axis angle. How much light gets passed through th...

3 months ago

Solved


Octoberfest festival
A group of students decided to visit Octoberfest festival. First they ordered one beer, then after half-hour they taken one more...

3 months ago

Solved


Circle/Pentagon Overlap
Your function will be provided with the five vertices of a pentagon (p) as well as the center point (cp) and radius (r) of a cir...

3 months ago

Solved


Inscribed Pentagon?
Your function will be provided with the five vertices of a pentagon (p) as well as the center point (cp) and radius (r) of a cir...

3 months ago

Solved


Is this is a Tic Tac Toe X Win?
For the game of Tic Tac Toe we will be storing the state of the game in a matrix M. For this game: We would store the state ...

3 months ago

Solved


Fix the last element of a cell array
Note: this is lifted directly from <http://www.mathworks.com/matlabcentral/answers/82825-puzzler-for-a-monday Puzzler for a Mond...

3 months ago

Solved


String Array Basics, Part 1: Convert Cell Array to String Array; No Missing Values
<http://www.mathworks.com/help/matlab/characters-and-strings.html String array> and cell array are two types of containers for s...

3 months ago

Solved


Cell Counting: How Many Draws?
You are given a cell array containing information about a number of soccer games. Each cell contains one of the following: * ...

3 months ago

Solved


Remove element(s) from cell array
You can easily remove an element (or a column in any dimension) from a normal matrix, but assigning that value (or range) empty....

3 months ago

Solved


Split a string into chunks of specified length
Given a string and a vector of integers, break the string into chunks whose lengths are given by the elements of the vector. Ex...

3 months ago

Load more