https://de.mathworks.com/matlabcentral/newsreader/most_recent_feed
MATLAB Central Newsreader Recent Posts
Most Recent Posts
enus
©19942017 by MathWorks, Inc.
webmaster@mathworks.com
MATLAB Central Newsreader
http://blogs.law.harvard.edu/tech/rss
60
MathWorks
https://de.mathworks.com/images/membrane_icon.gif

Tue, 24 Oct 2017 07:33:10 +0000
Parse .R64/.DAT file with Matlab
https://de.mathworks.com/matlabcentral/newsreader/view_thread/349608#956547
Daniel Schneider
Hi, <br>
I try to parse my datas (.r64/.dat) in Matlab. <br>
The published function by Wolfgang (<a href="http://de.mathworks.com/matlabcentral/fileexchange/31286importdiademdatr64intomatlab">http://de.mathworks.com/matlabcentral/fileexchange/31286importdiademdatr64intomatlab</a>) does not work with my files. <br>
<br>
Does anyone know if the Channel Headers switched since the last implemented version by Wolfgang?<br>
<br>
To function uses the start and endpoint of the datafield by calculating the end point by adding the stepsize on the startvalue. Problem here: My #CHANNELHEADER (listed below) does not store information bout this. <br>
<br>
#BEGINCHANNELHEADER<br>
200,Time<br>
201,<br>
202,s<br>
210,IMPLICIT<br>
220,137<br>
221,0<br>
240,0<br>
241,1<br>
253,increasing<br>
260,Numeric<br>
#ENDCHANNELHEADER<br>
<br>
<br>
Regards<br>
Daniel

Mon, 23 Oct 2017 17:07:12 +0000
Re: crop a vector in matlab
https://de.mathworks.com/matlabcentral/newsreader/view_thread/349603#956542
Bjorn Gustavsson
"Alice HandleyHoworth" wrote in message <osl19d$nr4$1@newscl01ah.mathworks.com>...<br>
> How do I crop a vector for example <br>
> <br>
> 2 <br>
> 4<br>
> 8<br>
> 9<br>
> 1<br>
> 12<br>
> 45<br>
> 2<br>
> <br>
> to just give me the values <br>
> <br>
> 8<br>
> 9<br>
> 1<br>
> 12<br>
> <br>
> any help would be appreciated <br>
<br>
a = [2 4 8 9 1 12 45 2].';<br>
idx2keep = [3 4 5 6];<br>
b = a(idx2keep);<br>
or:<br>
b = a(3:6);<br>
<br>
HTH

Mon, 23 Oct 2017 15:19:09 +0000
crop a vector in matlab
https://de.mathworks.com/matlabcentral/newsreader/view_thread/349603#956541
Alice HandleyHoworth
How do I crop a vector for example <br>
<br>
2 <br>
4<br>
8<br>
9<br>
1<br>
12<br>
45<br>
2<br>
<br>
to just give me the values <br>
<br>
8<br>
9<br>
1<br>
12<br>
<br>
any help would be appreciated

Mon, 23 Oct 2017 10:51:11 +0000
Extended deadline: DMKD  Special Issue on Data Mining for Geosciences
https://de.mathworks.com/matlabcentral/newsreader/view_thread/349602#956540
Carlos Ferreira
Please distribute <br>
(Apologies for multiple posting)<br>
<br>
<br>
Data Mining and Knowledge Discovery <br>
Springer (www.springer.com/10618) <br>
<br>
Final Call for Papers<br>
Special Issue on "Data Mining for Geosciences" <br>
<br>
<br>
Modern geosciences have to deal with large quantities and a wide variety of data, including 2D, 3D and 4D seismic surveys, well logs generated by sensors, detailed lithological records, satellite images and meteorological records. These data serve important industries, such as the exploration of mineral deposits and the production of energy (Oil and Gas, Geothermal, Wind, Hydroelectric), are important in the study of the earth crust to reduce the impact of earthquakes, in land use planning, and have a fundamental role in sustainability. In particular, the process of exploring and exploiting Oil and Gas (O&G) generates a lot of data that can bring more efficiency to the industry. The opportunities for using data mining techniques in the "digital oilfield" remain largely unexplored or uncharted. The purpose of this special issue is to be a breakingedge showcase for applications and developments of data mining and knowledge discovery in the area of the geosciences with a special focus in the oil and gas exploration. Researchers are invited to submit original papers presenting novel data mining methodologies or applications to the geosciences, including but not limited to the following topics: <br>
<br>
* Oil and gas exploration and production <br>
* Mineral deposit/reservoir identification and characterization <br>
* Exploration of welllog data <br>
* Earth crust analysis and understanding <br>
* Sensor data exploration <br>
* Remote sensing <br>
* Novel data mining problems in the geosciences <br>
* Visualization of big data in the geosciences <br>
* Geoscience data fusion for enhancing data mining solutions <br>
* Data streams analysis in geoscience <br>
* Feature extraction and data transformation from geoscientific data <br>
<br>
<br>
IMPORTANT DATES: <br>
<br>
* Deadline: 1st November 2017 <br>
* *Extended deadline*: 8th November 2017<br>
* Notifications: 5th January 2018 <br>
* Revised versions deadline: 30th January 2018 <br>
* Feedback from editorial team: 15th March 2018 <br>
* Final versions: 17th April 2018 <br>
* Volume ready: June 2018 <br>
<br>
<br>
PAPER SUBMISSION: <br>
<br>
* Authors are encouraged to submit highquality, original work that has neither appeared in, nor is under consideration by, other journals. <br>
* All papers will be reviewed following standard reviewing procedures for the Journal. <br>
* Papers must be prepared in accordance with the Journal guidelines. <br>
* Submit manuscripts to: <a href="http://DAMI.edmgr.com">http://DAMI.edmgr.com</a>. Choose “Data Mining for Geosciences” as the article type. <br>
<br>
<br>
FURTHER INFORMATION: <br>
<br>
The original call from Springer can be downloaded in PDF format at https://goo.gl/f8jDHw. <br>
<br>
For further information please refer to the special issue homepage at dm4og.inesctec.pt/dmkdspecialissue. If you have any questions don't hesitate to contact the guest editors through Alípio Jorge (amjorge@fc.up.pt), with cc to Rui Lopes (rui.l.lopes@inesctec.pt)

Sat, 21 Oct 2017 16:25:04 +0000
Re: drawingMesh function (Matlab Codes for FEA, Ferreira)
https://de.mathworks.com/matlabcentral/newsreader/view_thread/311501#956536
marcosviniciusissa@gmail.com
Em quintafeira, 11 de agosto de 2011 18:56:10 UTC3, RogerB . escreveu:<br>
> I have been using codes provided from the book, Matlab codes for finite element analysis solids and structures, and I have come across a few functions (drawaingMesh, rectangularMesh and drawingField). I have Matlab2007 and I am not sure if these are inbuilt functions in Matlab or Mr Ferreira has produced it himself. <br>
> <br>
> Normally any functions he uses are given at the end of the code but not this, it is not anywhere in the entire book. <br>
> <br>
> Can anyone help with this or tell me where I can find similar functions that do the same job please.<br>
> <br>
> Thanks in advance!<br>
<br>
Hi everybody,<br>
<br>
I have the same problem. My Matlab is 2016. The site Springer Nature doesn´t work. If somebody know the solution, please, contact me. <br>
<br>
Tks

Sat, 21 Oct 2017 13:04:53 +0000
Re: How to speed up the code
https://de.mathworks.com/matlabcentral/newsreader/view_thread/349599#956535
dpb
On 21Oct17 6:55 AM, Sama wrote:<br>
...<br>
<br>
> Thank you very much for your reply, however, I didn't get ''one of the<br>
> builtin solvers'' would you please suggest one?<br>
<br>
See<br>
<br>
doc ode45<br>
<br>


Sat, 21 Oct 2017 11:55:08 +0000
Re: How to speed up the code
https://de.mathworks.com/matlabcentral/newsreader/view_thread/349599#956534
Sama
"dpb" wrote in message <osctd2$14b7$1@gioia.aioe.org>...<br>
> On 20Oct17 8:11 AM, Michal Kvasnicka wrote:<br>
> > Your for lop has terribly high number of iterations:<br>
> ><br>
> >>> ceil(zfinal/h)<br>
> ><br>
> > ans =<br>
> ><br>
> > 7.5529e+34<br>
> <br>
> And doesn't preallocate for z and pse so that in<br>
> <br>
> ...<br>
> z(i+1)=z(i)+h;<br>
> %update pse<br>
> k1=f(z(i) ,pse(i) );<br>
> k2=f(z(i)+0.5*h,pse(i)+0.5*k1*h);<br>
> k3=f(z(i)+0.5*h,pse(i)+0.5*k2*h);<br>
> k4=f(z(i)+ h,pse(i)+ k3*h);<br>
> pse(i+1)=pse(i)+h/6*(k1+2*k2+2*k3+k4);<br>
> ...<br>
> <br>
> The two arrays are being dynamically reallocated every one of those <br>
> 10^34 iterations... :(<br>
> <br>
> Use one of the builtin solvers instead of "roll your own" will include <br>
> step optimization logic as well...<br>
> <br>
Thank you very much for your reply, however, I didn't get ''one of the builtin solvers'' would you please suggest one?<br>
Thanks a lot.

Sat, 21 Oct 2017 11:40:23 +0000
Re: How to remove "Search Documentation" box in toolstrip
https://de.mathworks.com/matlabcentral/newsreader/view_thread/345230#956533
khung
On Monday, May 2, 2016 at 7:13:09 AM UTC4, Yair Altman wrote:<br>
> 2460acc@gmail.com wrote in message <8cde609353394faf9f62dc984ddc3b5f@googlegroups.com>...<br>
> > And even better, replace it with a regular search box for searching the current document?<br>
> <br>
> Here's how to remove the current "Search Documentation" box in the toolstrip (note: strictly speaking it is not part of the toolstrip but a separate component within the same container panel as the toolstrip and the QAB [=Quick Access Bar]):<br>
> <br>
> jDesktop = com.mathworks.mde.desk.MLDesktop.getInstance;<br>
> jPanel = jDesktop.getMainFrame.getQuickAccessBar.getComponent.getParent.getParent;<br>
> jSearchBox = jPanel.getComponent(jPanel.getComponentCount1);<br>
> jPanel.remove(jSearchBox);<br>
> <br>
> To add your own components you could use jPanel.add(myJComponent). Naturally this would require some Java experience to create a functional Java component. But for removing the existing search box using the code snippet above you do not need any Java experience.<br>
> <br>
> Yair Altman <br>
> <a href="http://UndocumentedMatlab.com">http://UndocumentedMatlab.com</a><br>
<br>
Hi Yair,<br>
<br>
This is great. Just one small change. Use "2" for search box. Use "1" for login box (which is still useful).<br>
<br>
jSearchBox = jPanel.getComponent(jPanel.getComponentCount2); <br>
<br>
Thank you very much.

Sat, 21 Oct 2017 09:59:48 +0000
Re: ebgm code
https://de.mathworks.com/matlabcentral/newsreader/view_thread/292948#956532
ahmad.domi.usm@gmail.com
please give me source code in david_ahmad24@yahoo.com

Fri, 20 Oct 2017 14:49:09 +0000
Re: faster (vectorization) of code
https://de.mathworks.com/matlabcentral/newsreader/view_thread/349598#956531
Michal Kvasnicka
"dpb" wrote in message <osd0s9$1ak2$1@gioia.aioe.org>...<br>
> On 20Oct17 8:28 AM, Michal Kvasnicka wrote:<br>
> > Permutation: [2 4 3 1 5 8 7 6] is possible to decomposed to 5 cycles:<br>
> ><br>
> > 1 2 4<br>
> ><br>
> > 3<br>
> ><br>
> > 5<br>
> ><br>
> > 6 8<br>
> ><br>
> > 7<br>
> <br>
> If you say so...what produces those five results?<br>
> <br>
> <br>
<br>
OK ... never mind. There are others, who knows more about that:<br>
https://www.mathworks.com/matlabcentral/answers/362327permutationscyclescountingspeedup

Fri, 20 Oct 2017 14:46:08 +0000
Re: faster (vectorization) of code
https://de.mathworks.com/matlabcentral/newsreader/view_thread/349598#956530
Bruno Luong
"dpb" wrote in message <osd0s9$1ak2$1@gioia.aioe.org>...<br>
<br>
> <br>
> If you say so...what produces those five results?<br>
> <br>
<br>
cycles of the permutation.

Fri, 20 Oct 2017 14:23:16 +0000
Re: faster (vectorization) of code
https://de.mathworks.com/matlabcentral/newsreader/view_thread/349598#956529
dpb
On 20Oct17 8:28 AM, Michal Kvasnicka wrote:<br>
> Permutation: [2 4 3 1 5 8 7 6] is possible to decomposed to 5 cycles:<br>
><br>
> 1 2 4<br>
><br>
> 3<br>
><br>
> 5<br>
><br>
> 6 8<br>
><br>
> 7<br>
<br>
If you say so...what produces those five results?<br>
<br>


Fri, 20 Oct 2017 13:28:08 +0000
Re: faster (vectorization) of code
https://de.mathworks.com/matlabcentral/newsreader/view_thread/349598#956528
Michal Kvasnicka
Permutation: [2 4 3 1 5 8 7 6] is possible to decomposed to 5 cycles:<br>
<br>
1 2 4<br>
<br>
3<br>
<br>
5<br>
<br>
6 8<br>
<br>
7

Fri, 20 Oct 2017 13:23:56 +0000
Re: How to speed up the code
https://de.mathworks.com/matlabcentral/newsreader/view_thread/349599#956527
dpb
On 20Oct17 8:11 AM, Michal Kvasnicka wrote:<br>
> Your for lop has terribly high number of iterations:<br>
><br>
>>> ceil(zfinal/h)<br>
><br>
> ans =<br>
><br>
> 7.5529e+34<br>
<br>
And doesn't preallocate for z and pse so that in<br>
<br>
...<br>
z(i+1)=z(i)+h;<br>
%update pse<br>
k1=f(z(i) ,pse(i) );<br>
k2=f(z(i)+0.5*h,pse(i)+0.5*k1*h);<br>
k3=f(z(i)+0.5*h,pse(i)+0.5*k2*h);<br>
k4=f(z(i)+ h,pse(i)+ k3*h);<br>
pse(i+1)=pse(i)+h/6*(k1+2*k2+2*k3+k4);<br>
...<br>
<br>
The two arrays are being dynamically reallocated every one of those <br>
10^34 iterations... :(<br>
<br>
Use one of the builtin solvers instead of "roll your own" will include <br>
step optimization logic as well...<br>
<br>


Fri, 20 Oct 2017 13:20:11 +0000
Re: faster (vectorization) of code
https://de.mathworks.com/matlabcentral/newsreader/view_thread/349598#956526
dpb
On 20Oct17 8:14 AM, Michal Kvasnicka wrote:<br>
> "dpb" wrote in message <oscs5t$12bh$1@gioia.aioe.org>...<br>
>> On 20Oct17 7:02 AM, Michal Kvasnicka wrote:<br>
>> > Hi, this is my code for permutation cycles counting. ...<br>
>><br>
>> What are you trying to do?<br>
>><br>
>> <br>
><br>
> Count cycles of each permutation stored as rows of matrix perms.<br>
<br>
Definition? Sample (small) illustration?<br>
<br>
