Statistik
RANG
1.395
of 296.105
REPUTATION
50
BEITRÄGE
16 Fragen
36 Antworten
ANTWORTZUSTIMMUNG
81.25%
ERHALTENE STIMMEN
8
RANG
of 20.336
REPUTATION
N/A
DURCHSCHNITTLICHE BEWERTUNG
0.00
BEITRÄGE
0 Dateien
DOWNLOADS
0
ALL TIME DOWNLOADS
0
BEITRÄGE
0 Beiträge
BEITRÄGE
0 Öffentlich Kanäle
DURCHSCHNITTLICHE BEWERTUNG
BEITRÄGE
0 Highlights
DURCHSCHNITTLICHE ANZAHL DER LIKES
Feeds
Frage
Use matrix c\c++ API with row-based indexing
Hi all, in my project I perform some calculations in c++, and then I am using Matrix API (mxCreateNumericArray) to save my 2D ar...
fast 10 Jahre vor | 1 Antwort | 0
1
AntwortFrage
Run CUDA or PTX Code on GPU
Hi all, I have a problem with running CUDA code on GPU. According to <http://www.mathworks.com/help/distcomp/run-cuda-or-ptx-co...
etwa 10 Jahre vor | 1 Antwort | 1
1
Antwortgetting string from gui textbox into dsolve
After reading the strings ('Dy=x^2' , 'y(1)=1' , 'x') you should convert everything into cell array ( <http://www.mathworks.com/...
etwa 10 Jahre vor | 0
creating a matrix of zeros of size of another matrice
So zeros(a1,a2) creates a matrix of zeros with a1 rows and a2 columns, for example: a=zeros(2,3) is a=0 0 0...
etwa 10 Jahre vor | 1
| akzeptiert
GPU arrayfun with shared arrays
You can try to use your function without arrayfun. If at least 1 of the arguments is on GPU, calculations will be performed on G...
etwa 10 Jahre vor | 0
How to get diffraction pattern (fft2) from image of double slit(jpeg image)
After you get grayscale (2D array) Image, in order to get binary image you can use <http://www.mathworks.com/help/images/ref/im...
etwa 10 Jahre vor | 0
| akzeptiert
How to find only negative root of any polynomial
If you have symbolic math toolbox, function <http://www.mathworks.com/help/symbolic/vpasolve.html vpasolve> will find all roots...
etwa 10 Jahre vor | 0
I want to read audio data from a file. Can anybody help me?
You didn't set here the name of your file, it should be something like "test.wav"
etwa 10 Jahre vor | 0
how do i plot a graph in xy-plane?
First, you should define everything: h = 6.25 * 10^(-34); x=1:100; y=h.*x; Plot(x,y) So here you fi...
etwa 10 Jahre vor | 0
How to find slope for each pixel?
As i understood, you need to find b=S/A in each point, so you need to use term-by-term division: b=S./A;
etwa 10 Jahre vor | 0
How to get the correct value from the given matrix?
The simplest way is to write b=a(1,:)
etwa 10 Jahre vor | 0
| akzeptiert
two dimension array mean and deviation calculation
There are a lot of ways to do that. I would generate 3D array, where the third dimension will be of the size = # of rounds (5); ...
etwa 10 Jahre vor | 1
| akzeptiert
Frage
GPU amount of availible shared memory is less that it is seemed to be
Hi all, I am just started to use GPU. So, I tried to compute example from http://www.mathworks.com/products/parallel-computing...
etwa 10 Jahre vor | 1 Antwort | 0
1
AntwortJoin some matrices to one matrix
new=[]; for i=1:n % n - number of cells new=[new;m{i}(:)] end %%% So we take each m{i}, turn it into 1...
etwa 10 Jahre vor | 1
| akzeptiert
Frage
error with arrayfun and GPU computing part 2.
I am tring to compute simple example on GPU: function C=myf(A,B,N) for i=1:N C(:,:,i)=(A(:,:,i)*B)^10; ...
etwa 10 Jahre vor | 1 Antwort | 0
1
AntwortGPU computation error: please help
GOt it, just another commands in 2012 version.
etwa 10 Jahre vor | 0
| akzeptiert
Frage
GPU computation error: please help
HI all, I want to use GPU in my research. I downloaded simple example from mathworks (code is attached). Basically, code is: ...
etwa 10 Jahre vor | 1 Antwort | 0
1
AntwortFrage
Why vectorized calculations are faster than for loops?
Why it's faster in Matlab? Is it because better memory treating, or paralleling? If this is only due parallel computation, on s...
etwa 10 Jahre vor | 1 Antwort | 0
1
AntwortFrage
parfor calculations take longer time than for
I am starting to work with the Parallel Computing Toolbox, and just constructed simple example to compare for and parfor: t...
etwa 10 Jahre vor | 1 Antwort | 0
1
Antwortwriting a loop for differences of random numbers.
%Generate: for i= 1:1000 b(i) =rand; end %Subtract: c=zeros(1000,1000) for i =1:1000 c(i,:)=b-b(i); end ...
etwa 10 Jahre vor | 0
Solving System of 5 ODEs using ODE45
You can always get two first order ODE from one second order: if you have 2nd order ODE for y(t), use y1=y(t), y2=y'(t)=dy/dt...
etwa 10 Jahre vor | 0
Frage
locate particles in squares (combinatorics)
I have a problem: I have a lot of particles with given coordinates (x,y). My (x,y) plane is divided into a bunch of squares 32x...
etwa 10 Jahre vor | 1 Antwort | 0
1
AntwortHow do I store user input values from a for loop?
Create a vector to store your data,say,a: a=zeros(x,1) in for loop save values on each step: for R=1:x a(R)=input('W...
etwa 10 Jahre vor | 0
Extract multiple data series from *.fig
1) get id of your axes: a=get(gcf,'Children') 2) get data you needed: y=(get(a(1),'Children'),'YData') If there is ...
etwa 10 Jahre vor | 0
Double integral of a simple function
integral2 http://www.mathworks.com/help/matlab/ref/integral2.html
etwa 10 Jahre vor | 0
Help: Display a different layout when pushing a button in a GUI?
Didn't see your code. In your push button callback function write: set("edit box id",'String','tab2'), where "edit box id" is yo...
etwa 10 Jahre vor | 0
Frage
Debug mode in code with blocks(cells)
Hi, I often use blocks (cells?) (%%) in my programm. When I want to debug,say,third block, I insert breakpoint somewhere in this...
etwa 10 Jahre vor | 2 Antworten | 1
2
AntwortenDelet zeros after final number
There are plenty of ways to do that. For instance, find(A) will find indexes of all nonzero elements. So you can write: B= A(...
etwa 10 Jahre vor | 0
Frage
Subtract column from a matrix
In matlab it is easy to subtract number from column or row. I want to subtract column [n x 1] from a matrix [n x m]. Is it possi...
etwa 10 Jahre vor | 2 Antworten | 0
2
Antwortenmean without stable step
You can write a=mean(M,2) - this will find mean of matrix M along each column. And then take only values you need. For 3033*2005...
etwa 10 Jahre vor | 0