Submitted


Response of a line-like structure to a random load
The time history of the displacement response of a line-like structure to Gaussian white noise is computed

7 månader ago | 8 downloads |

Thumbnail

Submitted


Wind turbulence in the neutral and unstable surface-layer
A short set of functions to study surface layer fluxes and wind velocity spectra (simulated data) for wind engineering applicati...

7 månader ago | 4 downloads |

Thumbnail

Submitted


Ogive function for turbulent flux characterization
A simple example of the computation and fitting of the ogive function for atmospheric turbulence

7 månader ago | 2 downloads |

Thumbnail

Solved


Tax Calculator
Calculate the tax for a given income. 10% tax is paid for any income up to $2,000. 20% tax is paid for additional income u...

ungefär ett år ago

Submitted


Harmonic excitation of a SDOF
Implementation of some numerical methods to study forced vibrations of a SDOF in the time domain.

mer än ett år ago | 28 downloads |

Thumbnail

Submitted


Automated Frequency Domain Decomposition (AFDD)
Modal parameters identification from ambient vibrations measurement using the FDD

mer än ett år ago | 36 downloads |

Thumbnail

Submitted


Flutter velocity of a suspension bridge
The coupled flutter velocity of a single-span suspension bridge is computed in the frequency domain

mer än ett år ago | 4 downloads |

Thumbnail

Submitted


Sonic anemometer tilt correction algorithm
The 3 wind components are retrieved from a tilted anemometer using 3 different algorithms

mer än ett år ago | 4 downloads |

Thumbnail

Submitted


Wind rose as a scatter plot
Plot a wind rose as a scatter plot

mer än ett år ago | 17 downloads |

Thumbnail

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

nästan 3 år ago

Submitted


Short introduction to the Generalized Extreme Values (GEV) distribution
The GEV distribution is calculated with and without the Matlab statistical toolbox for wind data

mer än 3 år ago | 9 downloads |

Thumbnail

Submitted


Evolutionary Power Spectral Density (EPSD)
Compute the Evolutionary Power Spectral Density (EPSD) as an alternative to the spectrogram

mer än 3 år ago | 4 downloads |

Thumbnail

Submitted


Stationarity test
The stationarity of a time series is evaluated by using the reverse arrangement test.

ungefär 4 år ago | 12 downloads |

Thumbnail

Submitted


Static analysis - Suspension bridge - A benchmark solution
This matlab code computes the static displacement of a suspension bridge

mer än 4 år ago | 7 downloads |

Thumbnail

Submitted


Non-Gaussian process generation
A non-Gaussian random process is generated from a Gaussian-distributed white noise

nästan 5 år ago | 7 downloads |

Thumbnail

Solved


Return a list sorted by number of occurrences
Given a vector x, return a vector y of the unique values in x sorted by the number of occurrences in x. Ties are resolved by a ...

ungefär 5 år ago

Solved


Which doors are open?
There are n doors in an alley. Initially they are all shut. You have been tasked to go down the alley n times, and open/shut the...

ungefär 5 år ago

Solved


Reverse Run-Length Encoder
Given a "counting sequence" vector x, construct the original sequence y. A counting sequence is formed by "counting" the entrie...

ungefär 5 år ago

Solved


Making change
Given an amount of currency, return a vector of this form: [100 50 20 10 5 2 1 0.5 0.25 0.1 0.05 0.01] Example: Input a = ...

ungefär 5 år ago

Solved


Counting Money
Add the numbers given in the cell array of strings. The strings represent amounts of money using this notation: $99,999.99. E...

ungefär 5 år ago

Solved


De-dupe
Remove all the redundant elements in a vector, but keep the first occurrence of each value in its original location. So if a =...

ungefär 5 år 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...

ungefär 5 år ago

Solved


Elapsed Time
Given two date strings d1 and d2 of the form yyyy/mm/dd HH:MM:SS (assume hours HH is in 24 hour mode), determine how much time, ...

ungefär 5 år ago

Solved


Balanced number
Given a positive integer find whether it is a balanced number. For a balanced number the sum of first half of digits is equal to...

ungefär 5 år ago

Solved


Replace NaNs with the number that appears to its left in the row.
Replace NaNs with the number that appears to its left in the row. If there are more than one consecutive NaNs, they should all ...

ungefär 5 år ago

Solved


Quote Doubler
Given a string s1, find all occurrences of the single quote character and replace them with two occurrences of the single quote ...

ungefär 5 år ago

Solved


Remove all the consonants
Remove all the consonants in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill'; Output s2 is 'a ...

ungefär 5 år ago

Solved


Remove the vowels
Remove all the vowels in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill' Output s2 is 'Jck nd Jll wn...

ungefär 5 år ago

Solved


Find the longest sequence of 1's in a binary sequence.
Given a string such as s = '011110010000000100010111' find the length of the longest string of consecutive 1's. In this examp...

ungefär 5 år ago

Solved


Find the alphabetic word product
If the input string s is a word like 'hello', then the output word product p is a number based on the correspondence a=1, b=2, ....

ungefär 5 år ago

Load more