Solved


Bernoulli's Equation
Bernoulli's equation states that for an incompressible fluid the following summation is constant across the flow: v^2/2 + g*z + ...

1 year ago

Answered
simscape Mechanics Explorer trajectory show
Hi @Wenlong, Thanks for reaching out! To display the trajectory of your robotic arm's fingertip in Mechanics Explorer, you'...

1 year ago | 0

Solved


Split Even Number Into Two Primes
Given an even whole number n (> 2), return a 2-element vector of primes, p, such that p(1) + p(2) = n. The elements of p should ...

1 year ago

Answered
HDL coder generate code from Matlab vs Simulink
Hi @Xiaotong, Both workflows are valid, but the right choice depends on how complex your project is and what stage you’re in....

1 year ago | 1

| accepted

Solved


Basic Mathematics 8
A robot is extending its arm and attempting to reach a game piece that is X” away and Yg ” off the ground. The base of the arm i...

1 year ago

Solved


Coefficient of Sliding Friction
A weight of W1 N rests on a horizontal plane. The plane is gradually inclined until at an angle θ = Ao with the horizontal, the ...

1 year ago

Solved


Find the force required to support a lever
Students are designing a robot that will lift a block to the equilibrium position for transport to the scoring area. They have d...

1 year ago

Solved


Find the mass of a rod
Determine the mass (in grams) of a rod of length L cm if it is in equilibrium per the diagram. In the diagram L1, L2, L3 are di...

1 year ago

Solved


Differential equations I
Given a function handle |f| an initial condition |y0| and a final time |tf|, solve numerically the differential equation dy...

1 year ago

Answered
How to simulate an inverter welding machine?
Hi @Huang, Thank you for sharing your Simulink model of the inverter welding machine. I've reviewed your diagram thoroughly a...

1 year ago | 0

| accepted

Answered
How is SoC Blockset working with Cortex-R5 processor on ZCU111?
Hi @Sergei, Thank you for your detailed questions. Based on the official MathWorks SoC Blockset documentation and supported h...

1 year ago | 1

| accepted

Answered
How to simulate a battery pack with a BMS in Simulink to prevent over-charge / over-discharge?
Hi @Katie, First of all, I would like to give you a compliment, this is a Great project! Hopefully, you are already aware of ...

1 year ago | 0

Answered
Tire model to be used with custom tire force and moment block in Simulink
Hi @Massimiliano, Thank you for sharing your vehicle simulation setup and tire specifications. I've carefully reviewed your S...

1 year ago | 0

Answered
Storing vectors of different lengths
Hi @Scott Banks, I saw your question about generating four vectors of varying lengths for building shear forces. I put togeth...

1 year ago | 0

Answered
AXI4 Master Read SDRAM
Hi @John, Saw your comments about the Cyclone V SoC setup and the missing “read from SDRAM” block—here’s a quick summ...

1 year ago | 0

| accepted

Solved


Project Euler: Problem 8, Find largest product in a large string of numbers
Find the greatest product of five consecutive digits in an n-digit number. 73167176531330624919225119674426574742355349194934...

1 year ago

Solved


Project Euler: Problem 7, Nth prime
By listing the first six prime numbers: 2, 3, 5, 7, 11, and 13, we can see that the 6th prime is 13. What is the Nth prime numb...

1 year ago

Solved


Project Euler: Problem 4, Palindromic numbers
A palindromic number reads the same both ways. The largest palindrome made from the product of two 2-digit numbers is 9009 = 91 ...

1 year ago

Answered
Generate Empty bus structures from a data dictionary
Hi @Dean D, The issue you're experiencing occurs because enumeration classes defined in a data dictionary are owned exclusive...

1 year ago | 1

| accepted

Answered
Draw a box around an equation in MATLAB live editor.
Hi @David Cole, I apologize for the delayed response. I did not pay attention to my comments. *The \boxed command doe...

1 year ago | 0

Answered
I want to avoid fractions in my answer to the null space
Hi @David Cole, I've modified your code based on the feedback from @Steven Lord, and incorporated exact arithmetic and scalin...

1 year ago | 0

| accepted

Answered
I want to avoid fractions in my answer to the null space
Hi @David, I completely understand your frustration! You mentioned *"I don't want to just multiply my answer by three"* - and...

1 year ago | 0

Solved


Pentagonal Numbers
Your function will receive a lower and upper bound. It should return all pentagonal numbers within that inclusive range in ascen...

1 year ago

Solved


The Top 5 Primes
This problem series invites you to solve two simple problems related to the integer NUMBER FIVE, in order to celebrate <https://...

1 year ago

Solved


Breaking Out of the Matrix
Do you want to take the Red Pill, or the Blue Pill? If you take the Blue Pill, you will simply pass along to the next problem...

1 year ago

Solved


Energy of a photon
&#9883 &#9762 &#9883 &#9762 &#9883 &#9762 &#9883 Given the frequency F of a photon in giga hertz. Find energy E of this photon...

1 year ago

Answered
USRP X310 Led above Ethernet is not Blinking, the ping is not working, and findsdru is not showing USRP
Hi @Muhammad, I saw your post about the USRP X310 issue you're experiencing, and I wanted to share some insights that might h...

1 year ago | 0

Solved


I Plead the Fifth
Write a function to provide a yes or no answer to the input string. However, it must plead the 5th amendment (return an empty st...

1 year ago

Solved


Acid and water
&#9878; &#9878; &#9878; &#9878; &#9878; &#9878; &#9878; &#9878; Assume that there is a 100 liter tank. It is initially fi...

1 year ago

Answered
How to get accurate channel in NTN - TDL model?
Hi @Thien Hieu, I read your post about the NR NTN PDSCH Throughput example and wanted to clarify. The function `nrPerfectChan...

1 year ago | 0

| accepted

Load more