Solved


apply zero padding to a matrix

5 years ago

Solved


Increasing sub-sequence (Level 2)
This is the next step up from <http://www.mathworks.com/matlabcentral/cody/problems/42837-increasing-sub-sequence-level-1 Proble...

5 years ago

Answered
Implementing summation in Matlab using Matlab Function
I assume alpha is a 4x4 matrix, theta is a 1x4 array and lambda is a 1x4 array. [theta,lambda]=meshgrid(theta,lambda); output...

5 years ago | 0

Answered
Determine the slope of experimental data
Just select the data you want. x=[hauteur(30:100),hauteur(130:218)];%assuming row array y=[theta(30:100,401),pi-theta(130:218,...

5 years ago | 1

Answered
find intersection of 2 graphs in one plot with unknown function
You could fit your data using polyfit or fit (sounds like your data is relatively smooth). Then run feval on the objects over th...

5 years ago | 1

Answered
Error: Unable to perform assignment because the left and right sides have a different number of elements.
Put a stop in on this line of code: CNV(ph) = B_avg*dt*mv; Then inspect each variable size (ph, B_avg, ... ). You can also per...

5 years ago | 0

Answered
Recursive function with for loop inside?
I think you just need a break after your recurssive call. function f = factor(upLim, downLim, step, temp, threshold) for i...

5 years ago | 0

| accepted

Solved


Flow rate in a pipe

5 years ago

Solved


Convert .mp4 to .avi

5 years ago

Solved


Squares inside a square!

5 years ago

Answered
Plot of a fitted normal distribution
x=[ 0.1000 0.5000 1.0000 5.0000 10.0000 50.0000 100.0000 500.0000]; y=[0.0700 0.0900 0.1200 0.1500 0...

5 years ago | 0

Problem


Number of Primitive Roots and Cyclic

5 years ago | 1 | 4 solvers

Submitted


Multiply Numbers using Number Theoretic Transform
Multiply very numbers (hexadecimal or decimal) together efficiently using Number Theoretic Transform (NTT)

5 years ago | 73 downloads |

0.0 / 5
Thumbnail

Problem


Convert Hexadecimal Number to Decimal Number

5 years ago | 1 | 30 solvers

Answered
Storing data into a vector from a for loop
load sound.dat t = input('Please enter threshold value:'); n = length(sound); x=sound(sound>t);

5 years ago | 0

| accepted

Answered
Substract 2 arrays different size no For loop
C=A-B'; C=C(:)';

5 years ago | 0

| accepted

Answered
How can I add each cell with changing the matrix dimensions
newMatrix=zeros(3); for k=1:numel(A_matrix) newMatrix=newMatrix+A_matrix{k}; end

5 years ago | 0

| accepted

Answered
Saving a Loop Answer as Matrix
Save in a matrix would be better as long as the sizes are the same (pad with nan or 0 if not the same size). Much easier to inde...

5 years ago | 0

Answered
Calculating integral in MATLAB
I am assuming each row of g1 and g2 is going from T=0 to t; otherwise you will have to describe the functions g1 and g2 and how ...

5 years ago | 0

| accepted

Answered
I would like to know how i can calculate the sum of a curve
If you load your two columns. Making E the first column and phi0 the second column. dE is 0.5 deltaE=0.5; meanFluence=sum(phi0...

5 years ago | 0

| accepted

Answered
How to average every 10 values (row) for 73319 rows and save into other csv file
You only have 9 rows in the last grouping. What are you going to do there? a=readmatrix('scurve3.csv'); b=mean(reshape([a(:,2)...

5 years ago | 1

| accepted

Load more