We Are Creative Design Agency

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Illum, fuga, consectetur sequi consequuntur nisi placeat ullam maiores perferendis. Quod, nihil reiciendis saepe optio libero minus et beatae ipsam reprehenderit sequi.

Find Out More Purchase Theme

Our Services

Lovely Design

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent feugiat tellus eget libero pretium, sollicitudin feugiat libero.

Read More

Great Concept

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent feugiat tellus eget libero pretium, sollicitudin feugiat libero.

Read More

Development

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent feugiat tellus eget libero pretium, sollicitudin feugiat libero.

Read More

User Friendly

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent feugiat tellus eget libero pretium, sollicitudin feugiat libero.

Read More

Recent Work

How to Use Switch Simulink : MATLAB

How to Use Switch Simulink : MATLAB

Switch

Switch between two inputs.

Library

Nonlinear

Description


The Switch block propagates one of two inputs to its output depending on the value of a third input, called the control input. If the signal on the control (second) input is greater than or equal to the Threshold parameter, the block propagates the first input; otherwise, it propagates the third input. This figure shows the use of the block ports.

To drive the switch with a logic input (i.e., 0 or 1), set the threshold to 0.5.

Data Type Support

A Switch block accepts real- or complex-valued signals of any data type as switched inputs (inputs 1 and 3). Both switched inputs must be of the same type. The block output signal has the data type of the selected input. The data type of the threshold input must be boolean or double.

Parameters and Dialog Box

Threshold
The value of the control (the second input) at which the switch flips to its other state. You can specify this parameter as either a scalar or a vector equal in width to the input vectors.

Characteristics


Direct Feedthrough
Yes
Sample Time
Inherited from driving block
Scalar Expansion
Yes
Dimensionalized
Yes
Zero Crossing
Yes, to detect when the switch condition occurs

How to Creating Subcircuirs and Hierarchical Blocks in LTspice : LTspice

How to Creating Subcircuirs and Hierarchical Blocks in LTspice : LTspice

s

How to Use PWL : LTspice

How to Use PWL : LTspice

PWL file =mydata.txt

in mydata should data
time1 data1
time2 data2
timen datan

Easy to use.

Chelsea 3 Burnley 0: Foot Ball

Chelsea 3 Burnley 0: Foot Ball

Chelsea 3 Burnley 0: Dazed Brian Jensen seeing stars in blue

Credit : By Matt Barlow
Last updated at 11:39 PM on 30th August 2009

Brian Jensen sounded like a man who had just woken from the worst nightmare of his life. 'I just saw blue shirts everywhere,' he said. 'The passing, the movement, the full-backs coming forward, the attacking football.'

Burnley goalkeeper Jensen is a Manchester United fan who had just witnessed a terrifying close-up of Chelsea's new swagger, so there's little wonder he felt dazed.

Jose Mourinho would probably have been equally distressed had it seen it. The reckless pursuit of a third goal in the name of entertainment, when the points were already safe? It is enough to send a shiver of disgust down his special spine.

Scroll down for more

Ashley cole

Pow! Wow! Ashley Cole celebrates scoring Chelsea’s third goal
in seven minutes to wrap up their comprehensive victory

Mourinho once went to the trouble of explaining why, for him, it was better to win 2-0 than 5-0. Roman Abramovich disagreed. Abramovich preferred 5-0, although, when Luiz Felipe Scolari tested him on the matter, he warmed to 2-0. It was, apparently, better than drawing.

Carlo Ancelotti has taken care to avoid any grand promises to thrill. Reluctantly, he admitted this was "probably the best match" since he arrived. The Italian and his advisors are aware how Scolari's team were looking good this time last year, but six months later the Brazilian was clearing his desk.

Ancelotti went top of the table after overwhelming this tidy and well-balanced Burnley which has beaten two of last season's top five. Abramovich hunkered down in his seat in the West Stand to enjoy a brisk and fluent exhibition with goals from Nicolas Anelka, Michael Ballack and Ashley Cole.

Martin Paterson missed a magnificent chance to give the Clarets the lead but only a series of excellent first-half saves from Jensen and a late goalline clearance from Tyrone Mears kept rampant Chelsea down to three.

'It was a bit of a footballing lesson for us,' said Jensen. 'It's great to watch and everyone can see the quality. It doesn't matter who they play, you saw it against Sunderland and Steve Bruce said it was one of the best attacking displays he'd seen. We saw it again and nobody can deny it.

'I don't want to say too much because I'm a Man United fan myself but, personally, I think Chelsea are the team to beat so far.'

Four straight wins represents Chelsea's best start to a season since they last won the title in 2005/06, a campaign when they won the first nine and led from the front all season.

Scroll down for more

Chelsea's Ashley Cole, second right, watches his ball shoot pass Burnley's goalkeeper Brian Jensen

Dazed and confused: Jensen was unable hold off an attack from Cole

'We are always happy when we are first,' said Ballack, who is in the final year of his contract and has yet to win the Premier League. 'We know this situation and we can deal with it. It's early in the season and we know there's a lot to do to keep this position but we've started well and the victories have given us a lot of confidence.'

So far so good for Ancelotti with the midfield diamond of Michel Essien, Ballack, Frank Lampard and Deco sparkling nicely and a new contract on the table for captain John Terry. Up front, Didier Drogba and Anelka look dangerous.

Michael Ballack

Motivated: Michael Ballack

'When Didi and Nico are up front together they are virtually unplayable,' said Terry.

'They're strong, fit and they score goals. It's important that they stay fit.'

The Africa Cup of Nations in January will rob Chelsea of Drogba, Essien and Salomon Kalou and the narrow formation will be tested at times when they are forced to defend in wide areas.

But the Blues are further encouraged by the faltering form of their main rivals. United, Liverpool and Arsenal have all been beaten.

'It gives us a little bit extra motivation when they lose,' said Ballack. 'We recognise this but we have to be focused, even against the smaller teams because you can drop points.

'If we play the best we can, I'm sure we can win the league because we have a strong team. We've had some periods, especially last year, when we were struggling at home. We won a lot of away games but we drew too many at home and that's what cost us the league in the end.'

The good news for Burnley is that they don't have to play Chelsea every week. Next up, after the break, it's Liverpool away.

'We'll need to defend better because there's no doubt Liverpool have similar qualities to Chelsea, with world class finishers at their disposal,' said manager Owen Coyle.

'But we'll look to take the positives from the start we've had, move on and be ready to give our best because, if we do that, we've a fighting chance of staying in what I believe is the best league in the world.'

Chelsea (4-4-2): Cech 6; Bosingwa 6 (Belletti 66 min, 5), Carvalho 6, Terry 6, A Cole 7; Ballack 7 (Mikel 83), Essien 8, Deco 7, Lampard 7; Drogba 8 (Kalou 75, 4), Anelka 7.
Subs: Hilario, Ivanovic, Malouda, Sturridge.

Burnley (4-5-1): Jensen 8; Mears 5, Carlisle 7, Bikey 5, Jordan 6; Fletcher 5, Elliott 6, Alexander 6 (McDonald 74, 4), McCann 6, Blake 6 (Guerrero 78, 3), Paterson 5 (Gudjonsson 59, 4).
Subs: Penny, Kalvenes, Thompson, Eagles.
Bookings: Mears.

Man of the Match: Michael Essien.

Referee: Mark Clattenburg.

ภูมิปัญญาไทยโบราณ‏ : Folk Wisdom

ภูมิปัญญาไทยโบราณ‏ : Folk Wisdom

ผมไปเจอ email ฉบับหนึ่งที่ forward กันมา น่าสนใจมากครับเลยเก็บเอามาฝาก

ในหนังในละครสมัยก่อน นางเอกมักแกล้งพระเอกด้วยกา เอา
หมามุ่ย ไปโรยใส่เสื้อผ้า เครื่องใช้ให้พระเอกคันเล่น เพราะหมา
มุ่ยซึ่งเป็นพืชชนิดหนึ่งที่ฝักของมันจะมีขนเล็ก ๆใครไปถูกโดน
เข้าก็จะคันคะเยย ซึ่งก็เหมือนกับบุ้งที่มีขนที่ตัวทำให้คันเช่นกัน
สำหรับวิธีแก้ซึ่งก็คือวิธีถอนขนของมันออกจากผิวหนังนั่นเอง
ทำได้โดยหาเทียนไขหรือเทียนขี้ผึ้งมาครึงตรงบริเวณที่คัน ขน
บุ้งจะหลุดติดเทียนมาได้ อีกวิธีหนึ่งก็คือนำข้าวเหนียวมาสักกำ
มือหนึ่งคลึงที่รอยผื่นแดง ขนของบุ้งหรือหมามุ่ยก็จะหลุดติดข้าว
เหนียวออกมาจนหายคันได้



อาการหูอื้อ หูตึง ส่วนหนึ่งเกิดจากขี้หูอุดตันอยู่ภายในโพรงหู
และเมื่ออุดตันนานวันเข้าขี้หูก็จะจับตัวเป็นก้อนแข็งจนทำให้
เกิดปัญหาในการรับฟังเสียงพูดที่จะได้ยินไม่ชัดเจนเท่าที่ควร
ถ้าหากไปพบแพทย์ หู ตา คอ จมูก ทางแพทย์ก็จะใช้เครื่องมือ
ดูดขี้หูออกมา แต่สำหรับสูตรของไทยโบราณซึ่งได้รับการถ่าย
ทอดและพิสูจน์กันมาแล้วเห็นว่าได้ผลดีมากก็คือให้นำกระ
เทียมที่ปลอกเปลือกแล้วมาโขลกและคั้นเอาแต่น้ำมาหยอด
หูจะทำให้ได้ยินเสียงการสนทนาได้ชัดเจนขึ้น




บางครั้งไปนั่งกินน้ำแข็งก้อนในร้านอาหารบางร้านก้อนน้ำ
แข็งใสแจ๋วดูสะอาดสะอ้านน่าดื่มกิน แต่บางร้านก็ขุ่นพลอย
ทำให้น้ำเปล่าในแก้วไม่ใสไปด้วย ความแตกต่างของก้อนน้ำ
แข็งต่างกันเพราะขบวนการทำ ถ้าใช้น้ำร้อนทำน้ำแข็ง น้ำแข็ง
จะใสกว่าใช้น้ำเย็น แต่การใช้น้ำเย็นก็จะทำให้น้ำแข็งเป็นก้อน
เร็วกว่าน้ำร้อน






วิธีทำให้เทียนไหม้ช้าลงเพื่อให้ใช้เทียนได้นานขึ้นควรแช่เทียน
ไว้ในตู้เย็นสัก 2-3 ชั่วโมงก่อนใช้หรือ ไม่เช่นนั้นก็ให้โรยเกลือ
ลงไป









ใช้ปลาสดทำอาหารจึงจะไม่มีกลิ่นคาวปลา แต่ในความเป็นจริง
ลองถ้าไม่ใช่ลูกทะเล บ้านใกล้น้ำจริง ๆแล้วก็อย่าหวังเลยว่าจะ
ได้กินปลาสด ๆได้ง่าย ๆ เคล็ดลับวิธีแก้กลิ่นคาวปลาไม่สดซึ่ง
เป็นสูตรที่ร้านอาหารต่าง ๆใช้กัน นำปลาที่สับแล้วไปล้างให้สะ
อาดและแช่ในน้ำแกว่งสารส้มสัก 15 นาที นำขึ้นล้างอีกครั้ง
ลงทำต้มยำ ทำแกง สุดแล้วแต่ชอบเพียงเท่านี้ก็จะได้กินปลา
ไม่เหม็นคาว ราวกับกินปลาสดอยู่ริมทะเลเลยทีเดียว





โรคร้อนในหรือโรคปากเปื่อยซึ่งมักจะเกิดในคนที่นอนหลับ
พักผ่อนไม่เพียงพอทำให้ร่างกายอ่อนแอขาดภูมิคุ้มกันเชื้อโรค
ในช่องปากโรคนี้เป็นโรคที่อาจจะดูไม่ร้ายแรง แต่ทำให้เกิด
ความทุกข์ ทรมารแก่ผู้เป็นได้ไม่น้อย เพราะกินดื่มอะไรก็ไม่
สะดวก ปวดแสบปวดร้อนตรงแผลบริเวณแผลที่พองอยู่ตลอด
เวลา วิธีแก้ลองเอาเกลือป่นอมไว้ในปากสัก 10 นาที ทำอย่างนี้
ทั้งเช้าและเย็น เกลือจะสมานแผลและฆ่าเชื้อโรคได้ดี อาการ
ปากเปื่อยแผลพุพองจะทุเลาเร็วขึ้น




ผมแตกปลายไม่ต้องตัดทิ้ง มีสูตรยาโบราณที่ทำให้ผม
เงางามและไม่แตกปลายซึ่งทำจากน้ำตะไคร้ โดยตัด
ตะไคร้มาสัก 3-4 ต้น ถ้าเป็นตะไคร้สดจากต้นเลยจะดี
มาก นำมาล้างให้สะอาดตัดเป็นท่อนเล็ก ๆก่อนจะนำไป
ตำให้ละเอียด หรือถ้าเอาไปบดกับเครื่องบดอาหารด้วยก็
จะดีมาก ใส้น้ำสะ อ าดลงไปและกลองเอาน้ำตะไคร้ออกมา
ไม่ต้องใส่น้ำมากนัก เอาแค่แทนเป็นครีมนวด นวดทั่วศรีษะ
ได้ เพื่อให้ได้สูตรน้ำตะไคร้เข้มข้นหลังจากสระผมตาม
ปกติแล้วให้เอาน้ำตะไคร้ที่ได้มานวดทิ้งไว้สัก 10 นาทีแล้ว
จึงล้างออก นวดผมด้วยครีมนวดน้ำตะไคร้นี้สัก 2 เดือนก็
จะเห็นผล


การซื้อผักชีสมัยนี้บางครั้งจะถูกบังคับให้ซื้อคราวละ
หลาย ๆต้น เช่นการซื้อในร้านซุปเปอร์มาร์เก็ตตามห้าง
สรรพสินค้า หากผู้ปรุงอาหารใช้จำนวนผักชีจริง ๆแค่
นิดเดียว ถึงแม้จะใส่ถุงแช่ตู้เย็นเก็บไว้ไม่กี่วันก็เหี่ยว
ทั้งที่น่าจะเก็บไว้ใช้ได้อีก ทางที่ดีคือให้เก็บผักชีไว้ใน
กล่องพลาสติกที่มีฝาปิดและพรมน้ำทุกวัน วิธีนี้จะช่วย
ให้เก็บผักชีได้อีกหลายวัน ผักชีไม่เหี่ยวเฉาแถมยังมีสีสด
ถ้าเก็บไว้ในตู้เย็นก็จะเก็บได้เป็นอาทิตย์ แต่ถ้าไม่ได้เก็บ
ไว้ในตู้เย็น วิธีนี้จ ะ ทำให้เก็บผักชีได้ถึง 3 วัน



อาหารที่เป็นของทอด คนโบราณสอนเคล็ดลับการทอด
กุ้ง ปู ปลา ชุบแป้งไม่ให้อมน้ำมันไว้หลากหลายวิธี เพราะ
การทอดอาหารอมน้ำมัน ไม่ว่าจะเป็นเพราะใช้น้ำมัน ไม่
ร้อนพอหรือเหตุใดก็ตามจะทำให้อาหารทอดดูไม่น่ากิน ทั้ง
ยังทำให้มีไขมันมาก มีผลสำหรับผู้ที่ต้องการลดความอ้วน
ด้วย สูตรการทอดอาหารไม่ให้อมน้ำมันอีกสูตรหนึ่งนี้เป็น
สูตรแปลก ยังไม่เคยได้ยินที่ไหน แต่ทดลองใช้แล้วได้ผลดี
โดยให้ใส่น้ำส้มสายชู 1 ช้อนโต๊ะลงไปผสมกับน้ำมันที่ใช้
ทอดอาหารของทอดจะไม่อมน้ำมันเมื่อทอดเสร็จแล้ว




ในช่วงที่อากาศเริ่มจะเปลี่ยน คนที่ทำงานมาก พักผ่อนไม่
เพียงพอจะเป็นโรคไข้หัวลม หรือเป็นไข้ที่เกิดจากอากาศ
เปลี่ยนฤดูได้ง่าย ๆการกินยาพาราเซ ต ามอล ลดไข้ก็รักษาได้
แต่กินมาก ๆก็จะไม่ดีเท่าไหร่นัก ลองลดความร้อนด้วยการ
กินดอกแคต้มจิ้มน้ำพริกดู ดอกแคมีวิตามินซีสูง กินแล้วแก้
ไข้ได้ชะงัดนัก แต่ถ้าไม่ชอบความขมของดอกแคให้เด็ด
เอาเกสรของดอกแคออกให้หมด เพราะดอกแคที่ขมจะขม
ตรงเกสรเท่านั้น





กรดวิตามินเอหรือบางครั้งเราจะคุ้นเคยกับคำว่า AHA ซึ่ง
สกัดจากกรดผลไม้ มีส่วนช่วยลดรอยเหี่ยวย่นและจุดด่างดำ
จากการถูกแสงแดดได้จริงโดยทำหน้าที่กระตุ้นเซลล์ผิวให้
แบ่งตัวเร็วขึ้นทำให้เลือดมาล่อเลี้ยงผิวหนังมากขึ้นและทำให้
มีการสร้างคอลลาเจนไหม่ไต้ชั้นผิวหนังทำให้ผิวหน้าเต่งตึง
และทำให้รอยด่างดำเจือจางลงได้






ต้มแกงจืดใส่ฟักหรือฟักเขียวน้ำแกงจะหวาน ทั้งเนื้อฟักยังกิน
ง่าย จะรับประทานทั้งเป็นชิ้นพอคำหรือบดให้เด็กกิน ก ็กินง่าย
อร่อยแต่เวลาซื้อฟักมาต้มกินบางครั้งซื้อลูกหนึ่งแล้วใช้ไม่
หมดในครั้งเดียว เพราะลูกฟักลูกโตเกินไป ส่วนที่เหลือถ้า
อยากจะให้เก็บไว้ได้นานขึ้นให้ลองเอาปูนแดงที่กินกับหมาก
คนแก่มาทาตรงรอยที่ตัดฟักชิ้นนั้นก็จะเก็บไว้กินได้อีกนาน
หลายวันไม่ต้องทิ้งทั้งลูกให้เสียของ




ทำอาหารไฟแรง ๆกระทะร้อน ๆอาหารอร่อย ๆ แต่กระทะยิ่ง
ร้อนน้ำมันยิ่งกระเด็น บางทีกระเด็นลวกมือไม้เป็นจุดแดงทำ
เอาเด็ก ๆหรือพวกสาว ๆไม่กล้าเข้าใกล้เตา เพราะกลัวน้ำมัน
กระเด็นโดนเป็นรอยแผล วิธีทำอาหารไม่ให้น้ำมันกระเด็น
ต้องใส่เกลือป่นลงไปสักหยิบมือ พอเห็นไฟแรงน้ำมันกระเด็น
ก็หยิบใส่เลย ทอดปลาก็เช่นกันแทนที่จะนำปลาคลุกน้ำปลา
หรือซอสให้เค็มก็หมักเกลือแทน นอกจากจะทำให้เวลาทอด
น้ำมันไม่กระเด็นแล้วยังไม่ทำให้เนื้อปลาติดกระทะจนหนังปลา
ถลอกปอกเปิกเวลากลับปลาด้วย



สำหรับคุณแม่ที่มีลูกรู้ดีว่าพวกเขาต้องระมัดระวังในการล้าง
ขวดน้ำขวดนมให้สะอาดขนาดไหนเพื่อไม่ให้มีเชื้อโรค เชื้อรา
ซึ่งอาจจะเกิดจากการล้างน้ำนมค้างบูดในขวดไม่หมดจนอาจ
ไหลเข้าสู่ทางเดินอาหารของลูก เกิดอาการท้องร่วง ท้องเดินหรือ
โชคร้ายก็อาจจะมีผลถึงชีวิต ดังนั้นการล้างขวดนมให้สะอาด
จึงสำคัญมากซึ่งโดยปกติแล้วคุณแม่จะเอาขวดนมไปต้มควบคู่
ไปกับการล้างน้ำด้วย แต่ขั้นตอนนั้นก็ยุ่งยากไม่สามารถทำได้
ทุกวัน มีเคล็ดลับง่าย ๆอีกวิธีหนึ่งคือให้ใส่ใบชาที่ชงแล้วลงใน
ขวดนม ในขนะที่ทำการล้าง ขวดนมจะใสสะอาดหมดจด เนื่อง
จากใบชามีฤทธิ์เป็นด่าง จะสามารถเจือจางกรดที่เกิดภายใน
ขวดนมได้


อาการของเด็กที่กินข้าวคำ น้ำคำ ส่วนใหญ่เกิดจากเด็กไม่ชอบ
กินอาหารหรืออาหารไม่ถูกปากจึงใช้วิธีกินข้าวคำหนึ่งแล้วดื่มน้ำ
ให้ข้าวไหลลงคอโดยไม่ต้องเคี้ยวมาก พ่อแม่ก็จะว่าไม่ให้ทำเช่น
นั้นเพราะกลัวลูกจะอิ่มน้ำ ไม่ได้กินข้าวสักเท่าไหร่ แท้ทีจริงนอก
เหนือจากสาเหตุดังกล่าว การดื่มน้ำมาก ๆหลังจากกินข้าวก็มีผล
เสียต่อร่างกายเพราะน้ำจะ ไ ปเจือจางน้ำย่อยภายในทีมีลักษณะเป็น
กรดสำหรับย่อยอาหาร ดังนั้นเมื่ออาหารไม่ย่อยก็จะเกิดอาการ
ท้องอืดเฟ้อ เรอเปรี้ยว ทางที่ดีหลังอาหารควรดื่มน้ำแต่พอควร
รอให้น้ำย่อยทำหน้าที่ของมันสักระยะหนึ่งแล้วจึงดื่มน้ำให้มาก ๆ
ตามที่ร่างกายต้องการจะได้ผลดีมากในภายหลัง



อาการเคล็ดขัดยอก เช่น นิ้วซ้น ขาเคล็ด ส่วนใหญ่จะเกิดกับ
นักกีฬา กระนั้นนักกีฬาเขาก็จะรู้วิธีปฐมพยาบาลที่ถูกวิธี แต่คน
ที่ไม่ใช่นักกีฬา บางครั้งเกิดอุบัติเหตุ เช่นใส่รองเท้าส้นสูง ส้นตึก
แล้วขาพลิก ปวดจนหาที่เปรียบไม่ได้ บางคนบอกเอาน้ำร้อน
ประคบ บางคนบอกเอายาเย็น ๆทา ไม่รู้ว่าวิธีไหนถูกต้องกันแน่
แท้ที่จริงหากเกิดอาการปวดเคล็ด ช้ำบวม ควรบำบัดโดยการ
หยุดเคลื่อนไหวส่วนที่ได้รับบาดเจ็บทันที รีบนำน้ำแข็งห่อใส่
ผ้าประคบเบา ๆจนกว่าอาการจะทุเลา แต่ถ้าเกิดตรงบริเวณเท้า
ข้อเท้า หัวเข่า มือ ข้อมือ หรือข้อศอก ควรพันด้วยผ้ายืดที่สะอาด
สักประมาณ 1 วัน หลังจากนั้นค่อยใช้น้ำอุ่น ยาหม่องหรือยาน้ำ
มันระกำทาเพื่อให้ความร้อนกระตุ้นให้เลือดไหลเวียนดีขึ้น



ผื่นคัน แมลงกัดต่อย ลมพิษ เป็นอาการที่ไม่ร้ายแรง แต่สร้าง
ความรำคาญกับผู้มีอาการเป็นอย่างมาก เนื่องจากพอคันขึ้นมา
ก็นึกอยากเกา แต่ยิ่งเกาก็จะยิ่งคัน ทั้งเมื่อเกามาก ๆยังอาจจะ
เป็นแผลเป็น เกิดริ้วรอยกระดำกระด่าง สำหรับผู้หญิงแล้วเป็น
เรื่องใหญ่ในการรักษารอยแผลเหล่านั้นในเวลาต่อมาอย่างแน่
นอน ถ้าเกิดอาการคันลองใช้สูตรยาแบบชาวบ้านโดยหาเปลือก
กล้วยน้ำว้ามาทาลงบนรอยแผลหรือเม็ดตุ่มที่คัน ทาไปแล้วจะ
หายคันทันที ทั้งยังทำให้แผลเย็นอาการดีขึ้น มีคนเคยลองเอา
เปลือกกล้วยหอม กล้วยไข่มาทาก็ว่าไม่หายเร็วเท่ากล้วยน้ำว้า
หลังกินลูกได้วิตามินแล้วเปลือกนำมาทาแก้คันหายชะงัดนัก




ถ้าคุณสามีเมาเหล้าพูดจาไม่รู้เรื่อง ถามว่าไปที่ไหนมาก็ตอบ
ไม่ได้ ไปกับใครยิ่งทำไม่รู้เรื่องใ ห ญ่ เมาหัวจะทิ่มบ่ออย่าง
เดียว วิธีแก้ฤทธิ์เหล้าให้สร่างเมาสักทีก็โดยการให้อมน้ำตาล
ทรายหรือจะชงน้ำตาลทรายใส่น้ำร้อนก็ได้ แอลกอฮอล์ทำให้
ร่างกายขาดน้ำตาลทรายในเลือดเพราะฉะนั้นควรเพิ่มน้ำตาล
ในเลือดด้วยการกินของหวาน ทองหยิบ ทองหยอด ฝอยทอง
ก็ได้ทั้งนั้น แต่ถ้าหากยื่นเล็บมือนางให้ คุณสามีคงผวาหน่อย ๆ
ด้วยระวัง !!





คนฝรั่งมองคนไทยว่ามีวิธีแกะกระเทียมที่แปลก นั่นคือเราจะไม่
ปอกเปลือกกระเทียม พ่อครัว แม่ครัวที่ทำกับข้าวระดับมืออาชีพ
จะทุบกระเทียมให้ติดเปลือกแล้วก็เอาลงไปผัดลงในกระทะเลย
ฝรั่งบางคนนึกว่าพ่อครัวแม่ครัวเหล่านั้นขี้เกียจจึงทุบกระเทียม
ใส่ไปทั้งเปลือก แต่การผัดกระเทียมลงไปทั้งเปลือกเวลาผัดจะมี
กลิ่นหอม หากถ้าจะเจียวกระเทียมจะตรงข้ามกัน เวลาเจียว
กระเทียมต้องปลอกเปลือกออกให้หมด





เราทราบกันดีว่าถ้าร่างกายขาดแคลเซี่ยมจะทำให้เป็นโรคกระดูก
กร่อน ในยามแก่ตัวลงใครเป็นโรคนี้แล้วไม่ตายทันที แต่กลับ
ทรมาน ปวดหลัง ไหล่ ไขกระดูก นักโภชนาการแนะนำว่าให้ดื่ม
นมเยอะ ๆตั้งแต่ยังเป็นสาว เพราะนมมีแคลเซี่ยมสูง แต่นมก็ทำให้
อ้วนอีก มีอีกวิธีหนึ่งโดยแพทย์แนะนำว่าควรออกกำลังกายอย่าง
สม่ำเสมอ คนที่ทำงานนั่งเก้าอี้ วัน ๆไม่ได้เดินไปไหนจะสูญเสีย
แคลเซี่ยมมากกว่าคนที่ลุกเดินไปเดินมาบ้าง ดังนั้นหลังจากเลิก
งานแล้วลองออกกำลังกายด้วยการเดินรอบบริเวณบ้านหรือที่
ทำงานสักวันละ 30 นาทีจะช่วยให้ระดับแคลเซี่ยมในร่างกาย
เพิ่มสูงขึ้นได้มาก



สถาบันมะเร็งแห่งชาติ เคยเปิดเผยว่าคนไทยเราตายด้วยโรคมะเร็ง
เป็นอันดับรองลงมาจากอุบัติเหตุและโรคหัวใจ ผู้ป่วยส่วนใหญ่
เป็นชาวอีสานในภาคตะวันออกเฉียงเหนือ ซึ่งสันนิษฐานว่าเกิด
จากสาเหตุของการกินอาหารไม่ถู ก สุขลักษณะ ก่อนหน้านี้เราคิดว่า
มะเร็งเป็นโรคที่มีโอกาศเป็นได้ยาก คราวนี้ควรต้องกลับมาคิดใหม่
มะเร็งเป็นโรคที่ใกล้ตัวกว่าที่เราคิด มีอันตรายร้ายแรงเพราะรักษา
ไม่ค่อยหาย หรือถ้ารักษาหายก็ต้องเสียค่าใช้จ่ายสูงมาก ไม่เช่นนั้น
ก็รอวันตายสถานเดียว อีกทั้งคนไทยเราเสี่ยงต่อการเป็นมะเร็งมาก
กว่าชนชาติอื่น ๆเพราะเรามีอุปนิสัยการกินที่ไม่ดี ชอบกินของ
สุก ๆดิบ ๆและไหม้ ๆใช้น้ำมันเก่าทอดอาหาร อีกทั้งมลภาวะที่
เป็นพิษก็จะเป็นการกระตุ้นเชื้อมะเร็งในร่างกายให้ก่อตัวได้
ง่ายอีกด้วย



โบราณบอกว่าถ้าไม่อยากให้รองเท้าที่ซื้อมาใหม่กัดก็ให้กัดมันก่อน
แต่การแก้เคล็ดด้วยวิธีนี้ฟังดูไม่สมเหตุสมผลและคงไม่ดีเท่าไหร่แน่
เพราะรองเท้าก่อนที่จะถูกเราซื้อมามีลูกค้าลองสวมกันมาไม่รู้กี่เท้า
มีทั้งเชื้อโรคและสิ่งสกปรกมากมาย ลองใช้สูตรที่ช่างทำรองเท้า
ทำกันดีกว่า นั่นคือนำน้ำมันสนหรือน้ำมันวาสลินหรือน้ำมันใส่ผม
ของผู้ชายแบบมัน ๆทาตรงหนัง ท ี่คิดว่าจะกัด ใช้ค้อนทุบให้หนังนิ่ม
และทาเทียนไขซ้ำ หนังรองเท้าก็จะนิ่มขึ้นไม่กัดเท้า





อาหารประเภทถั่วถือว่ามีประโยชน์มาก แต่การเก็บถั่ว
ไว้นานจนขึ้นราก็มีโทษมหันต์จนถึงกับทำให้เสียชีวิต
อย่างเฉียบพลันได้ ในประเทศอังกฤษ ไก่
งวงถึงแสนตัวเคยติดเชื้อจากราในถั่วที่ชื่อ แอฟพล่า
ทำให้ตับถูกทำลายจนตาย และใน ประเทศออสเตรเลีย
เคยสั่งเก็บผลิตภัณฑ์อาหารประเภทถั่วของบริษัทผลิต
อาหารชื่อดังออกจากชั้นวางสินค้าของห้างสรรพสินค้า
ทั่วประเทศเพราะตรวจพบผู้ป่วยได้รับพิษจากการกิน
ถั่วเนยของบริษัทดังกล่าวซึ่งถั่วที่นำมาปรุงผลิตภัณฑ์
มีเชื้อรา

Simulink Basics Tutorial - Block Libraries : MATLAB

Simulink Basics Tutorial - Block Libraries : MATLAB

Simulink contains a large number of blocks from which models can be build. These blocks are arranged in Block Libraries which are accessed in the main Simulink window shown below

Each icon in the main Simulink window can be double clicked to bring up the corresponding block library. Blocks in each library can then be dragged into a model window to build a model.

Sources

Source Blocks are used to generate signals. Double-click on the Sources icon in the main Simulink window to bring up the Sources window.

Notice that all of the source blocks have a single output and no inputs. While parameters in each of these blocks in the library can be modified by double-clicking the block, it is best to not modify the blocks until they have been copied into a model window.

In order to examine these blocks, create a new model window (select New from the File menu in the Simulink window or hit Ctrl+N).

Constant

The Constant Source Block simply generates a constant signal. The constant output value is displayed in the middle of the block, with a default value of 1.

To use this block, drag it from the Sources window into your new model window.

To change the constant output value, double-click on the block in your model window to bring up the following dialog box.

Change the constant value field from 1 to some other value, say, 5, and close the dialog box. Your model window will reflect the update by displaying a 5 in the middle of the constant block.

Signal Generator

The Signal Generator Source Block is a general-purpose source which encompasses some of the other blocks' functions. It generates periodic waveforms such as sine, square, and sawtooth waves as well as a random signal. Drag this block from the Sources window to your model window.

By default, the Signal Generator generates a sine wave with an amplitude of 1 and a frequency of 1 Hz. To change this, double-click the Signal Generator in your model window to bring up the following dialog box.

The Amplitude and Frequency can be changed in this dialog box, as well as the type of waveform. To change the waveform, click on the Waveform field to bring up a list of possible waveforms.

The desired waveform can be selected from this list.

Ramp

The Ramp Source Block generates a signal which is initially constant and begins to increase (or decrease) at a constant rate at a specified time. The slope, start time, and initial output can be specified.

Sine Wave

The Sine Wave Source Block generates a sinusoidal signal. The Amplitude and Frequency can be specified, as well as the Phase (unlike the Signal Generator). There is a fourth parameter, the Sample Time, which can be used to force the Sine Wave Source to operate in discrete-time mode (more about Discrete Time systems in Simulink later.)

Step

As described earlier, the Step Source Block generates a step function. The initial and final values can be specified, as well as the step time.

Chirp Signal

The Chirp Signal Source Block generates a sinusoidal signal which scans over a range of frequencies. The initial and final frequencies as well as the scan time can be specified. The amplitude is always 1, and the chirp signal repeats itself after each frequency scan.

Pulse Generator

The Pulse Generator Source Block generates a pulse train of varying duty cycle. The signal switches between 0 and the specified value starting at a particular time. The Period, Duty Cycle, Amplitude, and Start Time can be specified.

Repeating Sequence

An arbitrary set of points (t,y) can be specified. These points are entered as a vector specifying the time values, and a vector specifying the corresponding output values at those times. The output is linearly interpolated between the specified time values. At the last time value, the output immediately starts over, possibly with a discontinuous transition.

Clock

The Clock Source Block generates a signal equal to the current time in the simulation. This is useful when the output of a simulation is exported to MATLAB but occurs at uneven time steps. The clock's output reflects the times at which the other signals outputs occur.

Digital Clock

The Digital Clock Source Block generates a strictly periodic time signal at a specified sampling interval.

From File

The From File Source Block outputs a signal taken from a specified .mat file. A matrix saved in MATLAB as a .mat file will become a signal where the first row of the matrix specifies the time values. This is similar to the Repeating Sequence Source Block.

From Workspace

The From Workspace Source Block is identical to the From File Source Block except the values are taken from a variable (or expression) in the MATLAB Workspace.

Random Number

The Random Number Source Block generates a sequence of random numbers generated with the specified random number seed. Because of the seed, the same sequence can be applied to more than one simulation.

Band-Limited White Noise

The Band-Limited White Noise Source Block generates a random signal which changes at a specified sample period. The strength of the signal and a random number seed can also be specified.

Sinks

Sink Blocks are used to display or output signals. Double-click on the Sinks icon in the main Simulink window to bring up the Sinks window.

Notice that all of the sink blocks have inputs and no outputs. Most have a single input.

Scope

The Scope Sink Block was described earlier. It is used to display a signal as a function of time.

XY Graph

The XY Graph Sink Block plots one signal against another. It is useful for phase-plane plots, etc.

Display

The Display Sink Block is a digital readout of a signal at the current simulation time.

To File

The To File Sink Block saves a signal to a .mat file in the same way that the From File Source Block reads from a file. The sampling time can be specified, but is not necessary.

To Workspace

The To Workspace Sink Block stores a signal in a specified workspace variable. Unlike the To File Sink Block, the time is not saved in the variable, and must be stored separately.

Stop Simulation

This is a special control block which is triggered to stop the current simulation when its input is non-zero.

Discrete

Discrete Blocks are elements of discrete time dynamic systems. Double-click on the Discrete icon in the main Simulink window to bring up the Discrete window.

In order for these block to interact with continuous time blocks (sources and sinks, for example) the sample time can be specified in all of the Discrete Blocks.

Unit Delay

The Unit Delay's output is equal to the input delayed by one sample time.

Discrete-Time Integrator

This is the discrete time approximation of a continuous-time integrator. The approximation method can be specified as well as the initial condition and saturation limits.

Zero-Order Hold

Outputs a stepwise-constant version of the input signal with a specified sampling period.

First-Order Hold

Outputs a piecewise-linear version of the input signal with a specified sampling period.

Discrete State-Space

This is a discrete-time dynamic system in state-space form. A, B, C, and D matrices can be specified, as well as initial conditions.

Discrete Filter

This is a discrete-time filter in rational function form. Vectors containing coefficients of the polynomials in z^-1 are specified.

Discrete Transfer Fcn

This is the standard form of a SISO LTI discrete time system. The transfer function polynomials are represented as coefficient vectors in terms of z.

Discrete Zero-Pole

A discrete-time transfer function can be represented as list of z-plane poles and zeros. The gain can also be specified.

Linear

Linear Blocks are elements of linear continuous-time dynamic systems. Double-click on the Linear icon in the main Simulink window to bring up the Linear window.

Gain

This is a scalar or vector gain. The specified gain multiplies the input. The output is either a scalar or vector signal following normal vector-scalar multiplication rules.

Sum

The Sum Block adds (or subtracts) two (or more) signals and outputs their sum (or difference). The two inputs must either all be scalars, or all be vectors of the same dimension. The output is the same dimension as the inputs.

Drag this block into your model window and double click on it, bringing up the following dialog box.

By default, the Sum block adds two signals. The list of signs field represents both the number of inputs and whether to add or subtract them. To make the Sum block add two signals and subtract a third, change the list of signs to the following:

    ++-
Each element in the list corresponds to one of the signals. Close the dialog box. The Sum block in your model window should now have three inputs, one of which has a minus sign as shown below.

Integrator

The output of the Integrator is the integral of the input. An initial condition can be specified, as well as saturation limits. This block is very useful for modeling systems.

Transfer Function

Numerator and denominator polynomials can be specified to create a standard SISO LTI system transfer function.

State Space

A, B, C, and D matrices can be specified to create a LTI state space system. Inputs and outputs may be vector signals depending on the sizes of the matrices.

Zero-Pole

Vector lists of zeros and poles can be specified to create a transfer function. DC gain is also specified.

Derivative

The output is equal to the derivative of the input.

Dot Product

The output is equal to the dot product of two vector signals.

Matrix Gain

The output is equal to the input times a specified constant matrix. The size of the input and output vector signals must match the size of the matrix.

Slider Gain

This multiplies the input by a scalar constant which is specified by moving a slider on the screen as shown below. The limits of the slider can be specified.

Nonlinear

Nonlinear Blocks are elements of nonlinear continuous-time dynamic systems. Most of these have special-purpose applications and will not be used in the tutorials. Only the most relevant Nonlinear blocks will be discussed here. Double-click on the Nonlinear icon in the main Simulink window to bring up the Nonlinear window.

Elementary Math

The output of this block is a basic mathematical function applied to the input. Copy this block into your model window and double click on it. The resulting dialog box has one field, which when clicked on, give the following menu of functions.

The desired function can be selected from the list, and the choice will be displayed in the block in your model window.

Product

The output is equal to the product of the inputs. The number of inputs can be specified.

Fcn

Arbitrary MATLAB expressions can be represented by this block.

Connections

Connection Blocks are used to organize and combine signals and systems. These also have special purpose applications, and only some of these will be described here. Double-click on the Connections icon in the main Simulink window to bring up the Connections window.

Subsystem, In, Out

The Subsystem block is used as a system "macro", where one Subsystem block can be used to represent an entire set of blocks. When double-clicked, the subsystem block brings up a blank model window. Note that the Subsystem block has no inputs or outputs. For each input a Subsystem has, an In block is used. For each output a Subsystem has, an Out block is used. For more information on Subsystems and In and Out blocks, see the Interaction with MATLAB tutorial page. For an example of the creation of a subsystem, see the DC Motor Speed Modeling in Simulink example (as well as other examples.)

Mux, Demux

The Mux (Multiplexer) block is used to combine two or more scalar signals into a single vector signal. Similarly, a Demux (Demultiplexer) block breaks a vector signal into scalar signal components. The number of vector components must be specified in each case. For an example of the use of a Mux block see the Bus Suspension Modeling in Simulink example.

Credit : http://www.engin.umich.edu/class/ctms/simulink/basic/blocklib.htm

Example LTspice : LTspice

Example LTspice : LTspice

Soon!

EarthWorms Soil Explorer : Earthworms

EarthWorms Soil Explorer : Earthworms

ดุเดือนดิน ฟาร์ม

จำหน่าย ไส้เดือนพันธุ์ แอฟริกา และยินดีให้คำแนะนำวิธีการเลี้ยงไส้เดือนอย่างง่ายๆ

ไส้เดือน ที่จำหน่ายนั้น ขยายพันธุ์ได้เร็ว ท่านสามารถนำไส้เดือนไปขยายพันธุ์ต่อ เพื่อเลี้ยงไว้เป็นอาหาร ปลา ไก่ นก สัตว์เลื้อยคลาน สัตว์เลี้ยงอื่นๆ ของท่าน

ไส้เดือนมีส่วนประกอบของโปรตีนสูง ดังนั้นสัตว์ที่ได้กินไส้เดือนเป็นอาหารนั้น จะเจริญเติบโตรวดเร็ว มีสีสันสวยงามขึ้น

ส่วนมูลไส้เดือนและน้ำหมักชีวภาพไส้เดือน ซึ่งได้จากการที่ไส้เดือนย่อยสลาย มีแร่ธาติสูง หรือที่เรียกกันว่าปุ๋ยมูลไส้เดือน หากนำไปใส่ต้นไม้ พืชผัก ผลไม้ ช่วยให้ต้นไม้เจริญเติบโตดี และให้ผลผลิตสูง ซึ่งไส้เดือนสายพันธุ์เรา ใช้ผลิตมูลไส้เดือนจำหน่ายเป็นการค้าได้
ทางเรามีจำหน่ายทั้งปลีก และส่ง และแนะนำวิธีการเลี้ยงไส้เดือนอย่างง่ายๆ เราจัดส่งไส้เดือนได้ทุกจังหวัด

การสั่งซื้อไส้เดือน
- ไส้เดือนแอฟริกา ราคา ตัวละ 5 บาท (จัดส่งฟรีทางพัสดุ)
<สั่งซื้อขั้นต่ำ 100 ตัว หรือ 500 บาท>

- ไส้เดือนแอฟริกา 1 กก ราคา 1,000 บาท (นัดรับของ)(แถมวิธีการเลี้ยง+CD) หรือ (ให้จัดส่งทางพัสดุ เพิ่ม 400 บาท)

- ไส้เดือนแอฟริกา 2 กก ราคา 2,000 บาท (จัดส่งฟรีทางพัสดุ)(แถมวิธีการเลี้ยง+CD)
วิธีการสั่งซื้อ

- อีเมล หรือ โทรแจ้งเรา จำนวนไส้เดือนที่ท่านต้องการ เพื่อรอการยืนยันจากทางเรา
- เมื่อท่านได้รับการยืนยันจากทางเราแล้ว ท่านจะต้องโอนเงินชำระภายใน 2 วัน หากท่านไม่สามารถโอนเงินชำระภายใน 2 วันแล้ว ทางเราถือว่าท่านยกเลิกคำสั่งซื้อไส้เดือน และท่านจะต้องโทรแจ้งสั่งซื้อไส้เดือนกับทางเราใหม่
- เมื่อผู้ซื้อได้โอนเงินชำระเรียบร้อยแล้ว โปรดโทรหรืออีเมลแจ้งเรา พร้อมชื่อ และที่อยู่ของท่าน
- เมื่อทางเราเช็คว่าท่านได้โอนเงินชำระเรียบร้อยแล้ว เราจะโทรยืนยันแล้ว เราจะจัดส่งของให้ท่าน ตามที่ตกลงกันไว้ ในวันถัดไป

ติดต่อเรา patchara3d@gmail.com หรือ 0816252725

LTspice How to plotted in the same color?

LTspice How to plotted in the same color?

Greetings:

I have done a .step (with 4 parameter values) on a .tran simulation.

When viewing a trace in LTspice (ver. 2.23r) with the expression for ex.:

v(N001)

all of the simulation steps are plotted with different colors. Ok.

Then if I plot just one step of the data runs for this node voltage:

v(N001)@3 for ex.,

I see a single trace, but on close inspection it appears to be actually
4 traces overlaid very closely, each displayed in a different color.

Even wierder, when I plot two steps individually:

v(N001)@2
v(N001)@3 for ex.,

Then each trace appears to be 4 overlaid traces of the same color.
v(N001)@2 might be 4 overlaid traces in green, while v(N001)@3 appears
as 4 overlaid traces in blue.

When a single step selection is plotted along with the set such as:

v(N001)
v(N001)@3

Then the individual traces within v(N001) no longer take different
colors, but are all plotted in the same color.

Does anyone know what is going on here?

LTspice Potentiometer

LTspice Potentiometer

how to create a variable resistor whose resistance could be changed in an arbitrary way, say sine wave, square wave and etc. Thanks.

Here's an example. Let's say you want a resistor to vary its resistance sinusoidally between 500 ohms and 1500 ohms at a frequency of 1 Hz. All you do is add a resistor to the schematic as you would do normally but instead of specifying the resistor with a fixed value use this function instead:

R=1000+500*SIN(2*PI*TIME)

Look for .PARAM in the help topics for more functions you could try.

I tried
.param RN=10+sin(400k*pi*time)
and I defined the value of the R1 is RN
the simulation shows warning that
"can't solve .param RN=10+sin(400k*pi*time)"


also I tried to set the resistor value directly as

sin(400k*pi*time)
then it react as"can not find the definition of model sin"

------------------------------------------------------------------------

For a resistance value, use a variable name enclosed in
curly braces (to solve the variable before each run), e.g.
{RV}. Then add a parameter step command to the schematic,
e.g. .step param RV 1 10k 1k
using the Edit, Spice directive menus.

To make a potentiometer, define the values the two halves of
the pot (on each side of the wiper) with a position formula
in curly braces), e.g. {1+Rtotal*position} and
{1+Rtotal*(1-position)}.

Then add a parameter to define Rtotal,
..param Rtotal=10k
and a step command for the position,
..step param position 0 1 .1

The extra ohm in the formulas prevents the section
resistance from reaching zero ohms which blows the math up,
and sort of represents the wiper resistance.

If you want to run single position runs, add a position
parameter definition
..param position=.5
and comment out the step position by right clicking on the
command and clicking the comment button.

Later you can comment out the position parameter and
uncomment the position step command, if needed.

------------------------------------------------------------------------



Credit :
http://www.edaboard.com/ftopic265765.html
http://www.electronicspoint.com/ltspice-t102411.html
http://forum.allaboutcircuits.com/showthread.php?t=24018

Our Blog

55 Cups
Average weekly coffee drank
9000 Lines
Average weekly lines of code
400 Customers
Average yearly happy clients

Our Team

Tim Malkovic
CEO
David Bell
Creative Designer
Eve Stinger
Sales Manager
Will Peters
Developer

Contact

Talk to us

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Dolores iusto fugit esse soluta quae debitis quibusdam harum voluptatem, maxime, aliquam sequi. Tempora ipsum magni unde velit corporis fuga, necessitatibus blanditiis.

Address:

9983 City name, Street name, 232 Apartment C

Work Time:

Monday - Friday from 9am to 5pm

Phone:

595 12 34 567