First
|
Prev |
Next
|
Last
Pages: 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432
divide struct field by a scalar Hello, as the title on the post says, I have a struct S which the type of one of its fields is double ('value'): I am wondering how I could divide all of the elements stored in S.value by a scalar, call it 'max'. The only thing I could do is getting back an array of the elements: values = [S.value]/max; That di... 23 Jun 2010 13:57
Writing structs to XML-file I am new to Matlab, Java, XML and all that stuff... What I need to do is create an XML-file from data I have in a struct. It should look like this, for example <person id="ID_stored_in_struct"> <plan selected="yes"> <act type="home" x="598954.1482461237" y="5286325.283287849" start_time="00:00:00" end_time="07:... 29 Jun 2010 17:23
Sorting cell array Hi, I need to sort a n by 2 cell array along the second dimension. The first dimension contains structures and the second dimension contains a numerical value. I want to sort my structures by their corresponding numerical value, so in other words, I want to sort my array by the second dimension. Please let me kno... 23 Jun 2010 12:50
SymHydraulics: temperature effects Hi Edoardo, I am facing similar problems while modeling a heat exchanger in simscape (see http://www.mathworks.com/matlabcentral/newsreader/view_thread/284135#756748 ). I would agree with you to add only the temperature as an across variable, without adding any corresponding trough variable. As far as my understa... 1 Jul 2010 12:12
need a paper in image retrieval hi, can u help me to find a paper related to Graph Cuts Approach to the Problems of Image retrieval ... 23 Jun 2010 07:19
Image Loading MatLAB GUI I'm loading a Image to MatLAB GUI (axes) by using following command loadImage = importdata([pathname,'/',filename]); axis auto ; axes(handles.axesMainImage) %select the axes image(loadImage);%place image onto the axes The problem is, Say for example my Image resolution is (2000*2000). in the axis when I fit i... 23 Jun 2010 04:04
fmincon help please Hi all, I'm new to Matlab so please bear with me. I am trying to optimize a utility function, function X=Util(C,D,E,Y,HS,LS,x,Ngt), where the inputs are vectors. I also have a bunch of constraints. I've used fmincon before but only for functions with a single vector as an input like: [x,fval]=fmincon(@(x)2... 25 Jun 2010 14:16
Matlab integrate to Xilinx FPGA I am new to Matlab and Xilinx. I used Matlab r2009a (not Simulink) to write codes for image processing. Is there any way to integrate the Matlab codes (it would be better if it can integrate directly) as a reference design into a Xilinx embedded board? I found out that I can - write HDL code by hand - using S... 23 Jun 2010 04:04
historgram for color image hi friends i am new bee can you same me how to plot historgram for a color image which is of 24bit depth i.e. R,G,B ... 23 Jun 2010 07:19
how to plot? (basic question) I also tried this R= [A(: ,1),B(: ,1),C(:, 1),A(:, 1)] S= [A(: ,2),B(: ,2),C(: ,2),D(:,2)] for a= length (A) plot (R(a,:),S(a,:)) end but again it gives me only 1 triangle :( ... 23 Jun 2010 22:46 |