Community Profile

photo

Ole


Last seen: 13일 전 2014년부터 활동

Followers: 0   Following: 0

연락

통계

  • First Review
  • Thankful Level 4

배지 보기

Feeds

보기 기준

질문


Plot imagesc with vector of irregular spacing
The code below reads the file. But the plot is totally wrong in ww vector. If I set set(gca,'ytick',[1:10:512],'yticklabel',...

10개월 전 | 답변 수: 1 | 0

1

답변

질문


How to assign data to dynamic variable
How to create variables as amany as the length of some vector c and assign data to them The variables are a1 a2 a3.. a... a10 ...

1년 초과 전 | 답변 수: 1 | 0

1

답변

질문


How to sum 3D matrix along 2 and 3 dimention
There is 20x10x10 matrix how to sum all elements in the 2D slices along the 20 elements. The end result should be 20x1 vector ...

거의 2년 전 | 답변 수: 1 | 0

1

답변

질문


How to set the plot box to particular size
How to set the plot box to pixel size. x = linspace(1,20,100); y = x.^2; figure(1) plot(x,y) xlabel('X') ylabel('Y')...

2년 초과 전 | 답변 수: 0 | 1

0

답변

질문


How to use parpool for independent expressions
How to evaluate independent expressions in local parpool on laptop. When I try the code below, the parpool is idle. How to for...

2년 초과 전 | 답변 수: 1 | 0

1

답변

질문


How to set up variable with only several states in the genetic algorithm
How to set up the constrain simple_constraint(x) in the genetic algorim optimization with variable x(2) and x(3)that can take on...

2년 초과 전 | 답변 수: 1 | 0

1

답변

질문


How to center data on the max value
How to center 2D matrix (NxM) on the pixel with max value and fill rest with zeros? The end result should be (NxM) with center...

2년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Sampling data at x_n=cos(n*pi/N) for fft derivative
I am trying to find the derivative of nonperiodic function with chebyshev polynomials. The function below is from 'Spectral met...

2년 초과 전 | 답변 수: 1 | 0

1

답변

질문


How to change the display language in MS Word
How to change the display language in MS Word from Matlab temporary when writing to file? When the code runs with MS Word wit...

거의 3년 전 | 답변 수: 0 | 0

0

답변

질문


How to add constraints to simulannealbnd minimization
How to add constraint to minimization problem? Simply x(3) >10*x(4) ConstraintFunction = @simple_constraint; %constraint ...

대략 3년 전 | 답변 수: 1 | 0

1

답변

질문


How to simplify with common expression
How to simplify further ? How to try to pull comomon expression ? syms c d x assume(0 <=x & x <= pi/2 & d>0 & c <0) f =...

대략 3년 전 | 답변 수: 0 | 0

0

답변

질문


Simbolic simplification of trigonometric functions
I have expressions that I do not know how to further simplify with matlab. Which function will at least make the expression mor...

대략 3년 전 | 답변 수: 1 | 0

1

답변

질문


How to get matrix element A{1,2} at indices 1,2 from matrix A =@(x,y)
How to get element with index 1,2 from matrix defined as function. A =@(x,y) [x 1*x 2*x 3*x; y 5 6 7; 1 1 1 1; 2 3 4 5] A(3...

대략 3년 전 | 답변 수: 0 | 0

0

답변

질문


How to use parpool for different expressions ?
This is my first time trying to use parallel computing. Would this code pass Dx1 Dx2 Dx3 Dx4 to different cores and then conti...

3년 초과 전 | 답변 수: 1 | 0

1

답변

질문


How to replace multiple elemets at particular index in vector ?
How to replace multiple elements in particular position inside a vector ? a = [1 2 3 4 5 6 7 8 9] % I would like to replace...

3년 초과 전 | 답변 수: 1 | 0

1

답변

질문


How to plot multiple lines in predefined colors ?
How to plot multiple lines with different predefined colors CM = jet(2); x= linspace(1,10,10); y1 = x.^2; y2 =x.^3; plo...

3년 초과 전 | 답변 수: 1 | 0

1

답변

질문


How to remove the grid from plot
How to remove the grid from a pcolor plot ? grid off does not work. x = linspace(0,10); [X,Y] = meshgrid(x,x); z = X.*Y;...

3년 초과 전 | 답변 수: 1 | 0

1

답변

질문


How to add histogram to series of scattered plot on the same plot?
I would like to add hitogram for each scatter plot. The code below plots in different color each slice of 3 dim scatter matrix....

거의 4년 전 | 답변 수: 1 | 0

1

답변

질문


How to plot scattered data YZ with diffrent color for each slice X of 3 dim matrix XYZ
How to plot scattered data YZ with diffrent color for each slice X of 3 dim matrix XYZ ? There are two F1 F2 matrices (3 dimens...

거의 4년 전 | 답변 수: 1 | 0

1

답변

질문


multiplication question in 3 dim
Let say there is matrix from meshgrid X,Y. How to multiply it through a vector L in building third dimension of a F matrix ? ...

거의 4년 전 | 답변 수: 1 | 0

1

답변

질문


How to read just the powers from matlab output
How to read/print the powers from the matlab output function coeffs ? l^4*w^3*z^1 and l^4*w^3 I would like to obtain numbers...

거의 4년 전 | 답변 수: 2 | 0

2

답변

질문


How to create a histogram without using the matlab function
How to create a histogram without using the matlab hist function. Given scattered data x = randn(1,100); y = randn(1,100); ...

대략 4년 전 | 답변 수: 2 | 0

2

답변

질문


How to get the indices of the values inside every bin i.e. histcounts2
How to get the indices of x and y for the counts that go into every bin. x = randn(1,10); y = randn(1,10); nbins = [8 8]; ...

대략 4년 전 | 답변 수: 1 | 0

1

답변

질문


How to vectorize max / min number in row
Ho to vectorize the min and max value on each row for a matrix a = linspace(2,5,10); b = linspace(0,8,10); A = [a' b'] ...

대략 4년 전 | 답변 수: 1 | 0

1

답변

질문


How to display result from solve ?
How to display the result form solve ? x = @(y)(y^2-4); eqn =@(y) x(y)==0; syms y; S = vpasolve(eqn(y),y) Xr2 = [' R2 ...

대략 4년 전 | 답변 수: 2 | 0

2

답변

질문


Why subs symbolic fails here
How to make subs work for expression that are not identically simplified from the 'simlify' function. The expressions bellow ar...

4년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Symbolic collect and display
I would lie to display the coefficients before the expansion terms of the cos one by one. syms x y f = expand(sin(x + 3*y));...

4년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Rotation of curve question
I am trying to rotate a curve about a point (yellow asterisk) and do not obtain a symmetric result. Xr = (x-XXc)*cos(delta) + ...

4년 초과 전 | 답변 수: 1 | 0

1

답변

질문


speed for loop in sum
Can the for loop be removed ? x=linspace(-2,2,100); %some vector [X,XX]=meshgrid(x,x); %some matrix a=1/2;%some constant A0...

대략 5년 전 | 답변 수: 1 | 0

1

답변

질문


Numerical value for sum of bessel functions
I would like to find as numerical value the sum of bessel functions A0 . Is it possible to speed it ? x= linspace(-2,2,100)...

대략 5년 전 | 답변 수: 1 | 0

1

답변

더 보기