I have to write a prototype app for an engineering company. Most of the work is calculating various engineering properties (I'm talking pipes and real things here, not software engineering).
However, there will also have to be a GUI for:
parameter entry
displaying results
some basic diagramming
The calculation work at the moment does...
I have practically no knowledge of Matlab, and need to translate some parsing routines into Python. They are for large files, that are themselves divided into 'blocks', and I'm having difficulty right from the off with the checksum at the top of the file.
What exactly is going on here in Matlab?
status = fseek(fid, 0, 'cof');
fposition...
I need a checkbox to be checked by default on creation of the gui. How can this be done in MATLAB? I looked through the uicontrol inspector without any luck.
...
Hi,
I like to debug in matlab using commands. some questions:
(1) if choose a stack, is it possible to jump to a specific stack directly instead of moving one stack after another using dbup and dbdown?
(2) after jumping to a middle stack, if I execute some commands, why it auto returns to the inner most stack? Can I stay at the middle...
I'm using a block processing approach to handle a calculation between two large matrices.
The code significantly speeds up when using a larger block size. But if I go too large, then I get an Out of Memory error. Currently I hand-tune my code to find the largest working block size for a given input.
My question: how can I automate ...
How can I read a Matlab cell array stored as a .mat file and having 3*3*2 multidimensional double data into a c/c++ array ?
...
I'm trying to load a large dataset of a million points in 3d space in MATLAB, but whenever I try to plot it (scatter or plot3) , it takes forever. This is on a laptop with Intel Graphics Media Accelerator 950, up to 224-MB shared system memory. This also sometimes leads to Matlab 2008a crashing. Is there a way to let MATLAB use a Nvidia ...
hi i was doing the following
for i = 1:m,
index = 0;
for j = 1:n,
index = index+values(i,j)*2^(j-1);
if (j==1)
symbol_chip = chip_values(index+1,:);
else
symbol_chip = [symbol_chip chip_values(index+1,:)];
end
end
end
it tells me the following: "'symbol_chip' might be...
I wanted to use the following (in MATLAB R2007a)
h = modem.oqpskmod
but MATLAB complains that modem is not defined as follows:
??? Undefined function or variable 'modem'.
Error in ==> program at 34
h = modem.oqpskmod
Is there anything i will have to include, import,... in order to be able to use modem.oqpskmod? thanks!
...
For example:
round(7*rand(1,5))
Generates 5 numbers between 1 and 7
Is there a way to generate 5 random numbers between 5 and 7?
Or an abstraction of that?
...
how draw a ellipse and ellipsoid using MATLAB??
(x^2/a^2)+(y^2/b^2)=1
n=40;
a=0; b=2*pi;
c=0; d=2*pi;
for i=1:n
u=a+(b-a)*(i-1)/(n-1);
for j=1:m
v=a+(d-c)*(j-1)/(m-1);
x(i,j)=sin(u)*cos(v);
y(i,j)=sin(u)*sin(v);
z(i,j)=cos(u);
end
end
mesh(x,y,z);
but not i want the shape??
can help me??...
Is there an equivalent in c++(in any API/library) for Matlab repmat function ?
...
How to find out about a particular function or class in which version of Matlab/toolbox it was first introduced? I know I can look through all Release Notes, or Google can help sometime, but is there any better way?
...
I have 4 matrices of data F1,F2,O1,O2. All are neural signals collected at 1ms for a second. F1 and O1 were collected at the same time as with F2 and O2. I need to find how the data collected differes between the 2 trials and also compare the components of each trial (F1 and O1) to each other to notice and differences in respones. I'm ne...
I need to open a text file and convert it into a CSV file in Matlab. The first 3 lines of the text file are sentences that need to be omitted. The next 28 lines are numbers that need to make up the first column of the CSV, and then the next 28 lines need to make up the second column.
The text file is called datanal.txt and the output fi...
Hi,
I would like to find out what is the purpose of the JVM (Java Virtual Machine) in the MCR and what is the effect if I invoke the -NOJVM flag in MWApplication.initializeApplication()?
As I have written an Java application which contain an GUI, and I tried with/without -NOJVM option. And only the LookandFeel of the GUI change.
...
Hi,
I have a large .csv file (~26000 rows). I want to be able to read it into matlab. Another problem is that it contains a collection of strings delimited by commas in one of the fields.
I'm having trouble reading it. I tried stuff like tdfread, which won't work here. Any tricks with textscan i should be aware about?
Is there any oth...
I have 25 2D images (of equal size), each image represents one layer equally spaced. Each image is in grayscale and black color (or values equal 0 in data matrix after importing it) is the background that needs to be removed.
And my questions are:
How to combine these 25 images to one 3D image? How to draw each one with some space bet...
Hello,
Maybe a very easy question, but I am already looking for hours on the Internet for the answer but I cannot find it.
I have created the function below. In another m-file I want to use the matrix 'actual_location'. However, it is not possible to use an individual cell of the matrix (i.e. actual_location(3,45) or actual_location(1,2...
hi can anyone show how to use the modem.oqpskmod for BER. thanks!
h = modem.oqpskmod
y = modulate(h, values);
g = modem.oqpskdemod(h)
z = demodulate(g, y)
let's assume that i have array called values which contains only 1s and 0s.
my question is how would i calculate BER? of course if above my code is correct.
...