Resuelto


Fill a zeros matrix
The aim is to fill an array of all zeros given a numerical value and the index of row and columns for this value. 3 Inputs: ...

casi 3 años hace

Resuelto


Distance of the centroids of the balls
Given *n* balls of radius *r* and the vector *p (nx3)* with all position *(x,y,z)* of the balls, return the symmetric matrix *A ...

casi 3 años hace

Resuelto


Calculate compression ratio of engine
Calculate compression ratio of engine given compression volume of cylinder(Vc), piston stroke(s) and valve diameter(d)

casi 3 años hace

Respondida
Extract one pixel vertical stripes from multiple images and concatenate them in a new image in Matlab
folder = ''; % pwd or C:\Users\etc or /usr/local/ or fullfile or https// or whatever position = 10; % column of pixels in pixel...

casi 3 años hace | 0

| aceptada

Respondida
For over three dimensional data
How is my whole Uni requesting help like this? Surely there are some people who could help within already... Anyway, you should...

casi 3 años hace | 0

Respondida
How can I remove double values in an array
"remove rows in C that has zero in the second column" so pretty much the array B but with the 2nd column values of A whenever th...

casi 3 años hace | 0

Resuelto


All capital?
Are all the letters in the input string capital letters? Examples: 'MNOP' -> 1 'MN0P' -> 0

casi 3 años hace

Resuelto


Find similar sequences
Another problem inspired by a question on the <http://www.mathworks.com/matlabcentral/answers answers> forum. Given a matrix ...

casi 3 años hace

Resuelto


Rule of mixtures (composites) - upper bound
The <http://en.wikipedia.org/wiki/Rule_of_mixtures rule of mixtures> is used in the mechanical design of composite structures to...

casi 3 años hace

Respondida
how can I modify my code so that whenever my Y axis reaches 2.5E-6 it get constant, means no more variation with x axis.
For a question about a value or a plot, the code you shared is needelessly complicated, you could make it easier for the people ...

casi 3 años hace | 0

Resuelto


Convert String to Morse Code
Convert a given string to international <http://en.wikipedia.org/wiki/Morse_code Morse Code> * Strings will only have [A-z], ...

casi 3 años hace

Respondida
How can I split the data in cells
countries = {'Finland','San Marino','Serbia','France','Germany','Spain','Ireland','Italy','United Kingdom','Bosnia and Herzego...

casi 3 años hace | 0

Resuelto


Find the stride of the longest skip sequence
We define a _skip sequence_ as a regularly-spaced list of integers such as might be generated by MATLAB's <http://www.mathworks....

casi 3 años hace

Resuelto


Largest Geometric Series
Extension of Ned Gulley's wonderful Problem 317. In a geometric series, ratio of adjacent elements is always a constant value. ...

casi 3 años hace

Resuelto


geometric progression
I've modified my <http://uk.mathworks.com/matlabcentral/cody/problems/2800-arithmetic-progression previous program> so that it n...

alrededor de 3 años hace

Resuelto


Reverse the elements of an array
Reverse the order of elements in an array: eg: input X = [ 1 2 3 ; 4 5 6 ; 7 8 9 ] o...

alrededor de 3 años hace

Resuelto


Mersenne Primes vs. All Primes
A Mersenne prime (M) is a prime number of the form M = 2^p - 1, where p is another prime number. <https://www.mathworks.com/matl...

alrededor de 3 años hace

Resuelto


Set some matrix elements to zero
First get the maximum of each *row*, and afterwards set all the other elements to zero. For example, this matrix: 1 2 3 ...

alrededor de 3 años hace

Resuelto


Mysterious digits operation (easy)
What is this digit operation? 0 -> 0 1 -> 9 121 -> 9 44 -> 6 15 -> 5 1243 -> 7 ...

alrededor de 3 años hace

Respondida
plotting 12 graphs in one figure
So instead of plottin 12 figures each with mo_av, mo_max and mo_min you want 3 with 12 subplots? Would subplot(1,12,x) do? that ...

alrededor de 3 años hace | 0

Respondida
Given vertex points of two 2D polygons plotted in 3D space (x,y,z) how to determine if they intersect?
Unfortunately intersect only works for 2D polyshape objects, whereas for 3D you can use alphaShape and then a numerical solution...

alrededor de 3 años hace | 1

| aceptada

Respondida
reading files of folders with specific name styles
Adapt, test, correct, or simplify following code: Dir_with_Att = 'C:\Users\etc\put_your_directory_path_here\maybe_use_fullfile_...

alrededor de 3 años hace | 0

Respondida
Drop data from datatime by condition
Now I see that this was already answered, but the y-values might need to equal zero *for* a specific duration (or more), if I ge...

alrededor de 3 años hace | 1

Respondida
How to determine muscle activation timing of an emg signal?
You can use Fieldtrip or something like below (code needs testing/cleaning) % emg = timeseries; % Fs = sampling fr...

alrededor de 3 años hace | 0

Respondida
Save .FIG in a specific folder
Use savefig to save a Matlab .fig savefig(FIGhandle, fullfile(destdirectory_FIG, 'name_of_FIG.fig')); You can also use saveas...

alrededor de 3 años hace | 0

| aceptada

Resuelto


SatCom #1: Wavelength of an electomagnetic wave
*Satellite and Space Engineering - Problem #1* _This is the first of a series of problems looking at topics in satellite and ...

alrededor de 3 años hace

Resuelto


arithmetic progression
I've written a program to generate the first few terms of <https://en.wikipedia.org/wiki/Arithmetic_progression arithmetic progr...

alrededor de 3 años hace

Resuelto


IQpuzzler Challenge #2: Find all possible solutions on an empty 4-by-5 board with 5 pieces, rotating and flipping pieces allowed
We are playing a simplified version of IQpuzzler, with a smaller board of 4-by-5 spaces and just 5 pieces, as shown in the pictu...

alrededor de 3 años hace

Resuelto


IQpuzzler Preparation #3: Detect isolated groups of zeros in a matrix
Return true if any isolated groups of zeros (shapes 1x1, 1x2, 2x1, 1x3, 3x1 or 2x2) are present on the board, with all verticall...

alrededor de 3 años hace

Respondida
Best path for IBKR with Matlab in 2022
When Trading Toolbox became Datafeed Toolbox in R2021a, Interactive Brokers toolbox "ibtws" (and some other stuff) was removed b...

alrededor de 3 años hace | 0

Cargar más