First
|
Prev |
Next
|
Last
Pages: 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407
Column Operations Matlab plz i need the script to change the columns of a matrix example 1 2 3 3 2 1 4 5 6 ---------------> 6 5 4 7 8 9 9 8 7 this is my code.... function invier=cambifil(A) [f,c]=size(A); for i=1:f; for j=1:c; A(i,c-j+1)=A(i,j); ... 26 Jun 2010 00:05
Converting form .m to .mex is no longer efficient? Hello, I'm trying to improve the performance of Matlab OOP code by converting object's member functions into mex files. It was possible before by using "mcc -x funcname", but starting from r2010a (or maybe even earlier) it says: "Error: -x is no longer supported. The MATLAB Compiler no longer generates MEX files... 29 Jun 2010 19:36
Problems with RMS and IFFT amplitude Hello! I'm having trouble in reconstructing a signal from a Power Law noise. I've successfully created the signal in the frequency space, and obtained the desired PSD (which is similar to the real data). But, when I make the Inverse Fourier Transform, the signal over time, is too low in amplitude from what expecte... 25 Jun 2010 21:56
plotting two data series of different number of elements Dear Matlab gurus, I am trying to plot two data series on the same plot but with a different number of elements. In fact it is the same solution but at a higher resolution. % MS2 % clear all variables from the memory % clear all % close all the figures close all % define the physical constants omega... 25 Jun 2010 21:56
Defining function in Mupad I need a symbolic function in mupad like test(k)= 1 for k<0 2 for k=0 0 for k>0 Where can i find how to define function like this in mupad editor and then reuse it? Thx for answer. ... 28 Jun 2010 09:29
uigetdir default position I have tried to affect the Position of the uigetdir() appearance by doing a set() on DefaultUicontrolPosition and DefaultFigurePosition to no avail. I just want to be able to control it in order to raise it a little from its current default. I've searched the FEx, Wiki, Undoc, and googled to empty result. Rather than h... 25 Jun 2010 19:46
integrating the symbolic normcdf Hi, Is there a way to solve the following definite integral? My integrand is symbolic: myintegrand = @(x) x*normcdf(x,1,0); int(myintegrand,x,0,1) Matlab says: Warning: Explicit integral could not be found. ans = int(x*normcdf(x, 1, 0), x = 0..1) Basically, it does not give me an answer. I also tried ... 27 Jun 2010 22:41
Variable names to struct fields and back without file I/O? Say I define a bunch of variables: height = 7 width = 8 label = 'awesome' otherStuff = [1 2 3 4] and I want to turn them all into a struct, such that myStruct.height = height myStruct.width = width etc… Then I later want to be able to re-extract individual variables from it, using the field n... 26 Jun 2010 18:29
Floating Point operations and mistakes Hi everyone. I'm using Matlab since 4 years at my University and this is the first time I post here. I was programming with Matlab just for solving a puzzle (in particular, looking for three numbers that have tha same product and sum in the interval 0.99-9.99) when I noticed this fact: the sum of the three floating ... 25 Jun 2010 18:40
Scatter Plot Axis Hello, I've got a scatterplot of positive and negative x and y data, and I can't figure out how to add the "x" and "y" axis (the ones that would intersect at (0,0)). Can anyone help? Thanks B ... 25 Jun 2010 18:40 |