2024 State of Marketing Report – by HubspotMarius Sescu
https://www.hubspot.com/state-of-marketing
· Scaling relationships and proving ROI
· Social media is the place for search, sales, and service
· Authentic influencer partnerships fuel brand growth
· The strongest connections happen via call, click, chat, and camera.
· Time saved with AI leads to more creative work
· Seeking: A single source of truth
· TLDR; Get on social, try AI, and align your systems.
· More human marketing, powered by robots
ChatGPT is a revolutionary addition to the world since its introduction in 2022. A big shift in the sector of information gathering and processing happened because of this chatbot. What is the story of ChatGPT? How is the bot responding to prompts and generating contents? Swipe through these slides prepared by Expeed Software, a web development company regarding the development and technical intricacies of ChatGPT!
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
The realm of product design is a constantly changing environment where technology and style intersect. Every year introduces fresh challenges and exciting trends that mold the future of this captivating art form. In this piece, we delve into the significant trends set to influence the look and functionality of product design in the year 2024.
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
Mental health has been in the news quite a bit lately. Dozens of U.S. states are currently suing Meta for contributing to the youth mental health crisis by inserting addictive features into their products, while the U.S. Surgeon General is touring the nation to bring awareness to the growing epidemic of loneliness and isolation. The country has endured periods of low national morale, such as in the 1970s when high inflation and the energy crisis worsened public sentiment following the Vietnam War. The current mood, however, feels different. Gallup recently reported that national mental health is at an all-time low, with few bright spots to lift spirits.
To better understand how Americans are feeling and their attitudes towards mental health in general, ThinkNow conducted a nationally representative quantitative survey of 1,500 respondents and found some interesting differences among ethnic, age and gender groups.
Technology
For example, 52% agree that technology and social media have a negative impact on mental health, but when broken out by race, 61% of Whites felt technology had a negative effect, and only 48% of Hispanics thought it did.
While technology has helped us keep in touch with friends and family in faraway places, it appears to have degraded our ability to connect in person. Staying connected online is a double-edged sword since the same news feed that brings us pictures of the grandkids and fluffy kittens also feeds us news about the wars in Israel and Ukraine, the dysfunction in Washington, the latest mass shooting and the climate crisis.
Hispanics may have a built-in defense against the isolation technology breeds, owing to their large, multigenerational households, strong social support systems, and tendency to use social media to stay connected with relatives abroad.
Age and Gender
When asked how individuals rate their mental health, men rate it higher than women by 11 percentage points, and Baby Boomers rank it highest at 83%, saying it’s good or excellent vs. 57% of Gen Z saying the same.
Gen Z spends the most amount of time on social media, so the notion that social media negatively affects mental health appears to be correlated. Unfortunately, Gen Z is also the generation that’s least comfortable discussing mental health concerns with healthcare professionals. Only 40% of them state they’re comfortable discussing their issues with a professional compared to 60% of Millennials and 65% of Boomers.
Race Affects Attitudes
As seen in previous research conducted by ThinkNow, Asian Americans lag other groups when it comes to awareness of mental health issues. Twenty-four percent of Asian Americans believe that having a mental health issue is a sign of weakness compared to the 16% average for all groups. Asians are also considerably less likely to be aware of mental health services in their communities (42% vs. 55%) and most likely to seek out information on social media (51% vs. 35%).
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
This article is all about what AI trends will emerge in the field of creative operations in 2024. All the marketers and brand builders should be aware of these trends for their further use and save themselves some time!
A report by thenetworkone and Kurio.
The contributing experts and agencies are (in an alphabetical order): Sylwia Rytel, Social Media Supervisor, 180heartbeats + JUNG v MATT (PL), Sharlene Jenner, Vice President - Director of Engagement Strategy, Abelson Taylor (USA), Alex Casanovas, Digital Director, Atrevia (ES), Dora Beilin, Senior Social Strategist, Barrett Hoffher (USA), Min Seo, Campaign Director, Brand New Agency (KR), Deshé M. Gully, Associate Strategist, Day One Agency (USA), Francesca Trevisan, Strategist, Different (IT), Trevor Crossman, CX and Digital Transformation Director; Olivia Hussey, Strategic Planner; Simi Srinarula, Social Media Manager, The Hallway (AUS), James Hebbert, Managing Director, Hylink (CN / UK), Mundy Álvarez, Planning Director; Pedro Rojas, Social Media Manager; Pancho González, CCO, Inbrax (CH), Oana Oprea, Head of Digital Planning, Jam Session Agency (RO), Amy Bottrill, Social Account Director, Launch (UK), Gaby Arriaga, Founder, Leonardo1452 (MX), Shantesh S Row, Creative Director, Liwa (UAE), Rajesh Mehta, Chief Strategy Officer; Dhruv Gaur, Digital Planning Lead; Leonie Mergulhao, Account Supervisor - Social Media & PR, Medulla (IN), Aurelija Plioplytė, Head of Digital & Social, Not Perfect (LI), Daiana Khaidargaliyeva, Account Manager, Osaka Labs (UK / USA), Stefanie Söhnchen, Vice President Digital, PIABO Communications (DE), Elisabeth Winiartati, Managing Consultant, Head of Global Integrated Communications; Lydia Aprina, Account Manager, Integrated Marketing and Communications; Nita Prabowo, Account Manager, Integrated Marketing and Communications; Okhi, Web Developer, PNTR Group (ID), Kei Obusan, Insights Director; Daffi Ranandi, Insights Manager, Radarr (SG), Gautam Reghunath, Co-founder & CEO, Talented (IN), Donagh Humphreys, Head of Social and Digital Innovation, THINKHOUSE (IRE), Sarah Yim, Strategy Director, Zulu Alpha Kilo (CA).
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
The search marketing landscape is evolving rapidly with new technologies, and professionals, like you, rely on innovative paid search strategies to meet changing demands.
It’s important that you’re ready to implement new strategies in 2024.
Check this out and learn the top trends in paid search advertising that are expected to gain traction, so you can drive higher ROI more efficiently in 2024.
You’ll learn:
- The latest trends in AI and automation, and what this means for an evolving paid search ecosystem.
- New developments in privacy and data regulation.
- Emerging ad formats that are expected to make an impact next year.
Watch Sreekant Lanka from iQuanti and Irina Klein from OneMain Financial as they dive into the future of paid search and explore the trends, strategies, and technologies that will shape the search marketing landscape.
If you’re looking to assess your paid search strategy and design an industry-aligned plan for 2024, then this webinar is for you.
5 Public speaking tips from TED - Visualized summarySpeakerHub
From their humble beginnings in 1984, TED has grown into the world’s most powerful amplifier for speakers and thought-leaders to share their ideas. They have over 2,400 filmed talks (not including the 30,000+ TEDx videos) freely available online, and have hosted over 17,500 events around the world.
With over one billion views in a year, it’s no wonder that so many speakers are looking to TED for ideas on how to share their message more effectively.
The article “5 Public-Speaking Tips TED Gives Its Speakers”, by Carmine Gallo for Forbes, gives speakers five practical ways to connect with their audience, and effectively share their ideas on stage.
Whether you are gearing up to get on a TED stage yourself, or just want to master the skills that so many of their speakers possess, these tips and quotes from Chris Anderson, the TED Talks Curator, will encourage you to make the most impactful impression on your audience.
See the full article and more summaries like this on SpeakerHub here: https://speakerhub.com/blog/5-presentation-tips-ted-gives-its-speakers
See the original article on Forbes here:
http://www.forbes.com/forbes/welcome/?toURL=http://www.forbes.com/sites/carminegallo/2016/05/06/5-public-speaking-tips-ted-gives-its-speakers/&refURL=&referrer=#5c07a8221d9b
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
Everyone is in agreement that ChatGPT (and other generative AI tools) will shape the future of work. Yet there is little consensus on exactly how, when, and to what extent this technology will change our world.
Businesses that extract maximum value from ChatGPT will use it as a collaborative tool for everything from brainstorming to technical maintenance.
For individuals, now is the time to pinpoint the skills the future professional will need to thrive in the AI age.
Check out this presentation to understand what ChatGPT is, how it will shape the future of work, and how you can prepare to take advantage.
A brief introduction to DataScience with explaining of the concepts, algorithms, machine learning, supervised and unsupervised learning, clustering, statistics, data preprocessing, real-world applications etc.
It's part of a Data Science Corner Campaign where I will be discussing the fundamentals of DataScience, AIML, Statistics etc.
Time Management & Productivity - Best PracticesVit Horky
Here's my presentation on by proven best practices how to manage your work time effectively and how to improve your productivity. It includes practical tips and how to use tools such as Slack, Google Apps, Hubspot, Google Calendar, Gmail and others.
The six step guide to practical project managementMindGenius
The six step guide to practical project management
If you think managing projects is too difficult, think again.
We’ve stripped back project management processes to the
basics – to make it quicker and easier, without sacrificing
the vital ingredients for success.
“If you’re looking for some real-world guidance, then The Six Step Guide to Practical Project Management will help.”
Dr Andrew Makar, Tactical Project Management
2024 State of Marketing Report – by HubspotMarius Sescu
https://www.hubspot.com/state-of-marketing
· Scaling relationships and proving ROI
· Social media is the place for search, sales, and service
· Authentic influencer partnerships fuel brand growth
· The strongest connections happen via call, click, chat, and camera.
· Time saved with AI leads to more creative work
· Seeking: A single source of truth
· TLDR; Get on social, try AI, and align your systems.
· More human marketing, powered by robots
ChatGPT is a revolutionary addition to the world since its introduction in 2022. A big shift in the sector of information gathering and processing happened because of this chatbot. What is the story of ChatGPT? How is the bot responding to prompts and generating contents? Swipe through these slides prepared by Expeed Software, a web development company regarding the development and technical intricacies of ChatGPT!
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
The realm of product design is a constantly changing environment where technology and style intersect. Every year introduces fresh challenges and exciting trends that mold the future of this captivating art form. In this piece, we delve into the significant trends set to influence the look and functionality of product design in the year 2024.
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
Mental health has been in the news quite a bit lately. Dozens of U.S. states are currently suing Meta for contributing to the youth mental health crisis by inserting addictive features into their products, while the U.S. Surgeon General is touring the nation to bring awareness to the growing epidemic of loneliness and isolation. The country has endured periods of low national morale, such as in the 1970s when high inflation and the energy crisis worsened public sentiment following the Vietnam War. The current mood, however, feels different. Gallup recently reported that national mental health is at an all-time low, with few bright spots to lift spirits.
To better understand how Americans are feeling and their attitudes towards mental health in general, ThinkNow conducted a nationally representative quantitative survey of 1,500 respondents and found some interesting differences among ethnic, age and gender groups.
Technology
For example, 52% agree that technology and social media have a negative impact on mental health, but when broken out by race, 61% of Whites felt technology had a negative effect, and only 48% of Hispanics thought it did.
While technology has helped us keep in touch with friends and family in faraway places, it appears to have degraded our ability to connect in person. Staying connected online is a double-edged sword since the same news feed that brings us pictures of the grandkids and fluffy kittens also feeds us news about the wars in Israel and Ukraine, the dysfunction in Washington, the latest mass shooting and the climate crisis.
Hispanics may have a built-in defense against the isolation technology breeds, owing to their large, multigenerational households, strong social support systems, and tendency to use social media to stay connected with relatives abroad.
Age and Gender
When asked how individuals rate their mental health, men rate it higher than women by 11 percentage points, and Baby Boomers rank it highest at 83%, saying it’s good or excellent vs. 57% of Gen Z saying the same.
Gen Z spends the most amount of time on social media, so the notion that social media negatively affects mental health appears to be correlated. Unfortunately, Gen Z is also the generation that’s least comfortable discussing mental health concerns with healthcare professionals. Only 40% of them state they’re comfortable discussing their issues with a professional compared to 60% of Millennials and 65% of Boomers.
Race Affects Attitudes
As seen in previous research conducted by ThinkNow, Asian Americans lag other groups when it comes to awareness of mental health issues. Twenty-four percent of Asian Americans believe that having a mental health issue is a sign of weakness compared to the 16% average for all groups. Asians are also considerably less likely to be aware of mental health services in their communities (42% vs. 55%) and most likely to seek out information on social media (51% vs. 35%).
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
This article is all about what AI trends will emerge in the field of creative operations in 2024. All the marketers and brand builders should be aware of these trends for their further use and save themselves some time!
A report by thenetworkone and Kurio.
The contributing experts and agencies are (in an alphabetical order): Sylwia Rytel, Social Media Supervisor, 180heartbeats + JUNG v MATT (PL), Sharlene Jenner, Vice President - Director of Engagement Strategy, Abelson Taylor (USA), Alex Casanovas, Digital Director, Atrevia (ES), Dora Beilin, Senior Social Strategist, Barrett Hoffher (USA), Min Seo, Campaign Director, Brand New Agency (KR), Deshé M. Gully, Associate Strategist, Day One Agency (USA), Francesca Trevisan, Strategist, Different (IT), Trevor Crossman, CX and Digital Transformation Director; Olivia Hussey, Strategic Planner; Simi Srinarula, Social Media Manager, The Hallway (AUS), James Hebbert, Managing Director, Hylink (CN / UK), Mundy Álvarez, Planning Director; Pedro Rojas, Social Media Manager; Pancho González, CCO, Inbrax (CH), Oana Oprea, Head of Digital Planning, Jam Session Agency (RO), Amy Bottrill, Social Account Director, Launch (UK), Gaby Arriaga, Founder, Leonardo1452 (MX), Shantesh S Row, Creative Director, Liwa (UAE), Rajesh Mehta, Chief Strategy Officer; Dhruv Gaur, Digital Planning Lead; Leonie Mergulhao, Account Supervisor - Social Media & PR, Medulla (IN), Aurelija Plioplytė, Head of Digital & Social, Not Perfect (LI), Daiana Khaidargaliyeva, Account Manager, Osaka Labs (UK / USA), Stefanie Söhnchen, Vice President Digital, PIABO Communications (DE), Elisabeth Winiartati, Managing Consultant, Head of Global Integrated Communications; Lydia Aprina, Account Manager, Integrated Marketing and Communications; Nita Prabowo, Account Manager, Integrated Marketing and Communications; Okhi, Web Developer, PNTR Group (ID), Kei Obusan, Insights Director; Daffi Ranandi, Insights Manager, Radarr (SG), Gautam Reghunath, Co-founder & CEO, Talented (IN), Donagh Humphreys, Head of Social and Digital Innovation, THINKHOUSE (IRE), Sarah Yim, Strategy Director, Zulu Alpha Kilo (CA).
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
The search marketing landscape is evolving rapidly with new technologies, and professionals, like you, rely on innovative paid search strategies to meet changing demands.
It’s important that you’re ready to implement new strategies in 2024.
Check this out and learn the top trends in paid search advertising that are expected to gain traction, so you can drive higher ROI more efficiently in 2024.
You’ll learn:
- The latest trends in AI and automation, and what this means for an evolving paid search ecosystem.
- New developments in privacy and data regulation.
- Emerging ad formats that are expected to make an impact next year.
Watch Sreekant Lanka from iQuanti and Irina Klein from OneMain Financial as they dive into the future of paid search and explore the trends, strategies, and technologies that will shape the search marketing landscape.
If you’re looking to assess your paid search strategy and design an industry-aligned plan for 2024, then this webinar is for you.
5 Public speaking tips from TED - Visualized summarySpeakerHub
From their humble beginnings in 1984, TED has grown into the world’s most powerful amplifier for speakers and thought-leaders to share their ideas. They have over 2,400 filmed talks (not including the 30,000+ TEDx videos) freely available online, and have hosted over 17,500 events around the world.
With over one billion views in a year, it’s no wonder that so many speakers are looking to TED for ideas on how to share their message more effectively.
The article “5 Public-Speaking Tips TED Gives Its Speakers”, by Carmine Gallo for Forbes, gives speakers five practical ways to connect with their audience, and effectively share their ideas on stage.
Whether you are gearing up to get on a TED stage yourself, or just want to master the skills that so many of their speakers possess, these tips and quotes from Chris Anderson, the TED Talks Curator, will encourage you to make the most impactful impression on your audience.
See the full article and more summaries like this on SpeakerHub here: https://speakerhub.com/blog/5-presentation-tips-ted-gives-its-speakers
See the original article on Forbes here:
http://www.forbes.com/forbes/welcome/?toURL=http://www.forbes.com/sites/carminegallo/2016/05/06/5-public-speaking-tips-ted-gives-its-speakers/&refURL=&referrer=#5c07a8221d9b
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
Everyone is in agreement that ChatGPT (and other generative AI tools) will shape the future of work. Yet there is little consensus on exactly how, when, and to what extent this technology will change our world.
Businesses that extract maximum value from ChatGPT will use it as a collaborative tool for everything from brainstorming to technical maintenance.
For individuals, now is the time to pinpoint the skills the future professional will need to thrive in the AI age.
Check out this presentation to understand what ChatGPT is, how it will shape the future of work, and how you can prepare to take advantage.
A brief introduction to DataScience with explaining of the concepts, algorithms, machine learning, supervised and unsupervised learning, clustering, statistics, data preprocessing, real-world applications etc.
It's part of a Data Science Corner Campaign where I will be discussing the fundamentals of DataScience, AIML, Statistics etc.
Time Management & Productivity - Best PracticesVit Horky
Here's my presentation on by proven best practices how to manage your work time effectively and how to improve your productivity. It includes practical tips and how to use tools such as Slack, Google Apps, Hubspot, Google Calendar, Gmail and others.
The six step guide to practical project managementMindGenius
The six step guide to practical project management
If you think managing projects is too difficult, think again.
We’ve stripped back project management processes to the
basics – to make it quicker and easier, without sacrificing
the vital ingredients for success.
“If you’re looking for some real-world guidance, then The Six Step Guide to Practical Project Management will help.”
Dr Andrew Makar, Tactical Project Management
4. ماتالب
–
بةرزجنى كةريم مةال َمن
يه ::نووسينى Page 182
:منوونة
x = 1;
y=1;
z=0;
a= x | y
b= x || Z
c=z | z
//ئةجنام
a = 1
b = 1
c = 0
نا كردارى
–
َينةر
--
Not Operation
بة كردارة ئةم
~
َكيجؤر بة ،َكةرة
لداغ طؤراوى هةميشة كردنةوةى َضةوانةيث بؤ كردارةكة ،َتيدةنووسر
0
دةكاتة
1
و ،
1
دةكاتة
0
َنييبل دةتوانني ياخود ،
T
دةكاتة
F
و ،
F
دةكاتة يش
T
.
ٍ
5. ماتالب
–
بةرزجنى كةريم مةال َمن
يه ::نووسينى Page 183
من
:وونةكان
ٍx = 1;
y=1;
z=0;
a= ~ x
b= ~ y
c= ~ z
//ئةجنام
a = 0
b = 0
c = 1
َكةرةكان
لداغ َام
لبة ،دةكاتةوة ِوونر َكردارةكةيس هةر ،خشتةية ئةم
Inputs
راست لة بريتيني
True
(T)
َة
لهة و
False (F)
:
Inputs A and B
and
A & B
or
A | B
not
~A
F F 0 0 1
F T 0 1 1
T F 0 1 0
T T 1 1 0
//َبينىيت
بنكةى ،بةرنامة درووستكردنى و سازيي بةرنامة بوارةكانى لة كردارانة ئةم
طرنط زؤر بؤية .َتيبةكارد ،تادوايي ...... و مؤبايل بةرنامةيي ،َبيو بةرنامةسازيي ،زانيارى
.َويسنتيث و
7. ماتالب
–
بةرزجنى كةريم مةال َمن
يه ::نووسينى Page 185
== بة يةكسان
~= بة نيية يةكسان
//منوونةكان
a = 100;
b = 200;
c= a > b
d= a >= b
e= a < b
f= a <= b
g=(a == b)
h= (a ~= b)
//ئةجنام
c = 0
d = 0
e = 1
f = 1
g = 0
h = 1
8. ماتالب
–
بةرزجنى كةريم مةال َمن
يه ::نووسينى Page 186
نةخشةكان
Functions
ثةيوةنديدارةكان كردارة َكردنىيَبةجيج بؤ ئامادةكراوة نةخشةيةك ضةند ،دا ماتالب زمانى لة
Relational Operations
نةخشة ئةو خوارةوة ئةمانةى ،
Function
فةرمانانةن و
Command
.
نةخشة
Function
َنانيبةكاره و وةسف
Description
eq(a, b) ئةى كة تاقيدةكاتةوة
a
بي بة يةكسانة
b
؟ نا يان ؟
ge(a, b) ئةى كة تاقيدةكاتةوة
a
بي لة طةورةترة
b
؟ يةكسانة يان ؟
gt(a, b) ئةى كة تاقيدةكاتةوة
a
بي لة طةورةترة
b
؟ نا يان ؟
le(a, b) ئةى كة تاقيدةكاتةوة
a
بي لة بضوكرتة
b
؟ يةكسانة يان ؟
lt(a, b) ئةى كة تاقيدةكاتةوة
a
بي لة بضوكرتة
b
؟ نا يان ؟
ne(a, b) ئةى كة تاقيدةكاتةوة
a
بي بة نيية يةكسان
b
نا؟ يان ؟
isequal ريزةكان
Arrays
.يةكسانبوون بؤ تاقيدةكاتةوة
isequaln ريزةكان
Arrays
نرخى َام
لبة .يةكسانبوون بؤ تاقيدةكاتةوة
NaN
9. ماتالب
–
بةرزجنى كةريم مةال َمن
يه ::نووسينى Page 187
ية وةك دةكات ضارةسةر
.كسان
//منوونةكان
% comparing two values
a = 100;
b = 200;
c=eq(a,b)
d=ge(a,b)
e=gt(a,b)
% comparing two different values
g = 340;
h= 520;
i=le(a,b)
g=lt(a,b)
k=ne(a,b)
//ئةجنام
c = 0
d = 0
e = 0
i = 1
g = 1
k = 1
10. ماتالب
–
بةرزجنى كةريم مةال َمن
يه ::نووسينى Page 188
و َذيييب ذير كردارةكانى بؤ منوونةكان
ك
ثةيوةنديي ردةكانى
َكةوةيث
Examples for Logical Operations &
Relational Operations
منوونةى
1
َكيكات ::
x=5
:بدةرةوة خوارةوة ثرسيارانةى ئةم َامى
لوة
x = 5
a=disp(x > 6)
b=disp(x < 10 & x < 6)
c=disp(x > 0 | x < -1)
d=disp(x < 10 | x < 20)
//ئةجنام
x = 5
a = 0
b = 1
c = 1
d = 1
منوونةى
2
َكيكات :
x=-3
:بدةرةوة ثرسيارةكان َامى
لوة ،
x = -3;
11. ماتالب
–
بةرزجنى كةريم مةال َمن
يه ::نووسينى Page 189
a=-4 <= x <= 0
b=(-4 <= x) <= 0
c= -4 <= x
//ئةجنام
a = 0
b = 0
c = 1
منوونةى
3
:َنةيبةكاربه ))((نةفى َنىينةر :
x=true;
y=false;
a=~x
b=~y
c=x*3
d=x/y
//ئةجنام
a = 0
b = 1
c = 3
d = Inf
12. ماتالب
–
بةرزجنى كةريم مةال َمن
يه ::نووسينى Page 190
منوونةى
4
:
a=14 + 4 < 3 * 5
b=(14 + 4) < (3 * 5)
c = 0;
d = sin(pi);
e=c == d
x = 4; y = 8;
f=(x ~= 6) & (y > 4)
g=(x ~= 6) && (y > 4)
//ئةجنام
a = 0
b = 0
e = 0
f = 1
g = 1
14. ماتالب
–
بةرزجنى كةريم مةال َمن
يه ::نووسينى Page 192
كؤتايي .... ئةطةر ِينىردةرب
If …. End Statement
دةربرينى
if …. End
ئةطةر دةربرينى لة َتيَكديث
if Statement
بوليةنى دةستةواذةيي و ِةر(ب و
Boolean Expression
بة ،َتيد َكيدةربرين لة زياتر يان َكيدةربرين دا دوواى بة كة )
end
كؤتاى
دةربري بة َتيد
.نةكة
سازيي رستة
Syntax
:ية خوارةوة الى جؤرةى بةم ،دا ماتالب لة كؤتايي .... ئةطةر سازيي رستة
if <expression>
% statement(s) will execute if the boolean expression is true
<statements>
end
بوليةنى دةستةواذةيي و ِةر(ب ئةطةر
Boolean Expression
راست )
True
ب
كؤدةى ئةو ئةوا ،وو
ناو َتةيدةكةو
Inside
ئةطةرةوة دةربرينى
If Statement
و ِةر(ب ئةطةر َام
لبة .َتيَدةبيَبةجيج
بوليةنى دةستةواذةيي
Boolean Expression
دوواى كؤديي َة
لكؤمة يةكةم ئةوا َتيَةب
لهة )
.َتيَدةبيَبةجيج دةربرينةكة
15. ماتالب
–
بةرزجنى كةريم مةال َمن
يه ::نووسينى Page 193
:منوونة
a = 10;
% check the condition using if statement
if a < 20
% if condition is true then print the following
fprintf('a is less than 20n' );
end
fprintf('value of a is : %dn', a);
//ئةجنام
a is less than 20
value of a is : 10
:منوونة
a = 5;
b=8;
if (a>b)
disp(a)
end
disp(b)
//ئةجنام
8
16. ماتالب
–
بةرزجنى كةريم مةال َمن
يه ::نووسينى Page 194
ِةرب دةبينني ئةوا ،بي لة َتيب طةورةتر ئةى َكةريي
لدةغ َام
لبة بدةينةوة ئةجنام خؤيي وةك منوونةية ئةم ئةطةر
ئةطةر ناو كؤدى و دةربرين بةمةش ،و َتيدةب راست بوولييةنى دةستةواذةى و
If
.َتيَدةبيَبةجيج
a = 20;
b=8;
if (a>b)
disp('a is :')
disp(a)
end
disp('b is :')
disp(b)
//ئةجنام
a is :
20
b is :
8
17. ماتالب
–
بةرزجنى كةريم مةال َمن
يه ::نووسينى Page 195
كؤتايي ... نا ... ئةطةر ِينىردةرب
If…. Else …. End
ئةطةر دةربرينى لة َتيدةتوانر
If Statement
))((نا تر شتى ،دا
else
بة ،َتيَنريبةكاربه
دةست و ِةر(ب ئةطةر و ،مةندانةية ئارةزوو َوةيةكىيش
بوليةنى ةواذةيي
Boolean Expression
َة
لهة )
False
ترة شتى ئةم ئةوا ،بوو
Else
.َتيَدةبيَبةجيج
سازيي رستة
Syantax
)) كؤتايي ... نا ... ئةطةر ((دةربرينى سازيي رستة
If … Else … End
:خوارةوةية الى جؤرةى بةم
if <expression>
% statement(s) will execute if the boolean expression is true
<statement(s)>
else
<statement(s)>
% statement(s) will execute if the boolean expression is false
end
بوليةنى دةستةواذةيي و ِةر(ب ئةطةر
Boolean Expression
راست َنراويَسةنط
لهة )
True
،بوو
ئةطةر ناو كؤدى ئةوا
If
ب ،َتيَدةبيَبةجيج
))((نا تر شتى ناو كؤدى َضةوانةوةيث ة
Else
.َتيَدةبيَبةجيج
18. ماتالب
–
بةرزجنى كةريم مةال َمن
يه ::نووسينى Page 196
:َكارييةكة
لهي ِوانةرب
:منوونة
a = 100;
% check the boolean condition
if a < 20
% if condition is true then print the following
fprintf('a is less than 20n' );
else
% if condition is false then print the following
fprintf('a is not less than 20n' );
end
fprintf('value of a is : %dn', a);
//ئةجنام
19. ماتالب
–
بةرزجنى كةريم مةال َمن
يه ::نووسينى Page 197
a is not less than 20
value of a is : 100
:منوونة
a = 5;
b=8;
% check the boolean condition
if (a>b)
% if condition is true then print the following
disp(a)
else
% if condition is false then print the following
disp('A not greater than B')
end
//ئةجنام
A not greater than B
21. ماتالب
–
بةرزجنى كةريم مةال َمن
يه ::نووسينى Page 199
Elseif <expression 3>
% Executes when the boolean expression 3 is true
<statement(s)>
else
% executes when the none of the above condition is true
<statement(s)>
end
::منوونة
a = 100;
%check the boolean condition
if a == 10
% if condition is true then print the following
fprintf('Value of a is 10n' );
elseif( a == 20 )
% if else if condition is true
fprintf('Value of a is 20n' );
elseif a == 30
% if else if condition is true
fprintf('Value of a is 30n' );
else
% if none of the conditions is true '
22. ماتالب
–
بةرزجنى كةريم مةال َمن
يه ::نووسينى Page 200
fprintf('None of the values are matchingn');
fprintf('Exact value of a is: %dn', a );
end
//ئةجنام
None of the values are matching
Exact value of a is: 100
دا ئةطةر ناو لة ئةطةر ِينىردةرب
))َالنةيييه ((ئةطةرى
Nested If Statement
َتةيبب َكيئةطةر ،و َتيَنريبةكاربه ،دا ئةطةر لةناو ئةطةر طوجناوة ،دا سازيي بةرنامة زمانةكانى لة
هيالن
ئةطةر دةربرينى يةك دةتوانني ،ماتالبيشدا لة .تر ئةطةرةكانى بؤ ة
if
ئةطةرنا يان
elseif
ناو لة
تر َكىيئةطةر
Other if
تر ئةطةرنايةكى ناو لة يان
Another elseif
و ئةطةر ضةند ياخود .
.دا يةكرت لةناو ئةطةرنايةك
سازيي ِستةر
Syntax
دا ئةطةر لةناو ئةطةر سازيي رستة
:خوارةوةية الى جؤرةى بةم ئةطةر هيالنةى يان ،
if <expression 1>
% Executes when the boolean expression 1 is true
if <expression 2>
% Executes when the boolean expression 2 is true
end
23. ماتالب
–
بةرزجنى كةريم مةال َمن
يه ::نووسينى Page 201
end
:منوون
a = 100;
b = 200;
% check the boolean condition
if( a == 100 )
% if condition is true then check the following
if( b == 200 )
% if condition is true then print the following
fprintf('Value of a is 100 and b is 200n' );
end
end
fprintf('Exact value of a is : %dn', a );
fprintf('Exact value of b is : %dn', b );
//ئةجنام
Value of a is 100 and b is 200
Exact value of a is : 100
Exact value of b is : 200
25. ماتالب
–
بةرزجنى كةريم مةال َمن
يه ::نووسينى Page 203
رستةسازيي
Syntax
سازيي رستة
Syntax
ِةررطؤ
Switch
:ية خوارةوة الى جؤرةى بةم
switch <switch_expression>
case <case_expression>
<statements>
case <case_expression>
<statements>
...
...
otherwise
<statements>
End
::منوونة
grade = 'B';
switch(grade)
case 'A'
fprintf('Excellent!n' );
case 'B'
fprintf('Well donen' );
case 'C'
fprintf('Well donen' );
26. ماتالب
–
بةرزجنى كةريم مةال َمن
يه ::نووسينى Page 204
case 'D'
fprintf('You passedn' );
case 'F'
fprintf('Better try againn' );
otherwise
fprintf('Invalid graden' );
end
//ئةجنام
Well done
دا ِةررطؤ ناو لة ِةررطؤ
طؤرةر َالنةىيه
Nested Switch
دةطوجن
تر طؤرةرةكةى ناو لة طؤرةرةكة دانانى بة ،تر َكىيطؤرةر دةربرينى لة َكيبةش َتةيبب َكيطؤرةر ،َتي
.َتيدةب درووست ))((ناوةوة ناوةكى طؤرةرى و ))((دةرةوة دةرةكى طؤرةرى بةمةش ،دا
سازيي رستة
Syntax
:خوارةوةية الى جؤرةى بةم طؤرةر َالنةىيه سازيي رستة
switch(ch1)
case 'A'
fprintf('This A is part of outer switch');
27. ماتالب
–
بةرزجنى كةريم مةال َمن
يه ::نووسينى Page 205
switch(ch2)
case 'A'
fprintf('This A is part of inner switch' );
case 'B'
fprintf('This B is part of inner switch' );
end
case 'B'
fprintf('This B is part of outer switch' );
end
::منوونة
a = 100;
b = 200;
switch(a)
case 100
fprintf('This is part of outer switch %dn', a );
switch(b)
case 200
fprintf('This is part of inner switch %dn', a );
end
end
fprintf('Exact value of a is : %dn', a );
28. ماتالب
–
بةرزجنى كةريم مةال َمن
يه ::نووسينى Page 206
fprintf('Exact value of b is : %dn', b );
//ئةجنام
This is part of outer switch 100
This is part of inner switch 100
Exact value of a is : 100
Exact value of b is : 200
34. ماتالب
–
بةرزجنى كةريم مةال َمن
يه ::نووسينى Page 212
:كؤدةكة هةموو
l=6;
w=7;
if( l>=5 & l<=10 )
if( w>=4 & w<=8 )
A=l*w;
fprintf('Area Of Rectangle Is :%d n' , A);
end
end
fprintf('The Value of Length Is : %dn', l );
fprintf('The Value of Width Is : %dn', w );
//ئةجنام
Area Of Rectangle Is :42
The Value of Length Is : 6
The Value of Width Is : 7
منوونةى
4
//
-
تريةى
Diagonal
َذيييدر َكيبةمةرج ،بدؤزةرةوة َشةيالك
Length-l
لة ،و َتيوةرنةطر سالب
100
ثانى هةروةها ،َتينةب زياتر يش
Width-w
لة ،و َتيوةرنةطر سالب
50
،َتينةب زياتر ش
بةكار بة
:خوارةوة الى ياسايةى ئةم َنانىيه
√
36. ماتالب
–
بةرزجنى كةريم مةال َمن
يه ::نووسينى Page 214
disp(j)
end
//ئةجنام
-1
منوونةى
7
//
a=-1;
if a < 0
disp("a is negative");
end
//ئةجنام
a is negative
منوونةى
8
//
x=-1;
if x > 0
disp("x is positive");
elseif x < 0
disp("x is negative");
else
disp("x is exactly zero");
end
37. ماتالب
–
بةرزجنى كةريم مةال َمن
يه ::نووسينى Page 215
//ئةجنام
x is negative
منوونةى
9
//
color = "red"; % color is a string
switch color
case "red"
disp("Color is red");
case "blue"
disp("Color is blue");
case "green"
disp("Color is green");
otherwise
disp("Color is not red, blue, or green");
end
//ئةجنام
Color is red
منوونةى
10
//
a=20;
% If it is even, divide by 2
if rem(a, 2) == 0
disp('a is even')
38. ماتالب
–
بةرزجنى كةريم مةال َمن
يه ::نووسينى Page 216
b = a/2;
end
//ئةجنام
a is even
منوونةى
11
//
a = randi(100, 1);
if a < 30
disp('small')
elseif a < 80
disp('medium')
else
disp('large')
end
//ئةجنام
medium
منوونةى
12
//
switch 'Thursday'
case 'Monday'
disp('Start of the work week')
case 'Tuesday'
disp('Day 2')
39. ماتالب
–
بةرزجنى كةريم مةال َمن
يه ::نووسينى Page 217
case 'Wednesday'
disp('Day 3')
case 'Thursday'
disp('Day 4')
case 'Friday'
disp('Last day of the work week')
otherwise
disp('Weekend!')
end
//ئةجنام
Day 4
منوونةى
13
//
A=50;
B=12;
if A > B
'greater'
elseif A < B
'less'
elseif A == B
'equal'
40. ماتالب
–
بةرزجنى كةريم مةال َمن
يه ::نووسينى Page 218
else
error('Unexpected situation')
end
منوونةى
14
//
s = 95; % put some score here
if s >= 90
disp('A');
elseif s >= 80
disp('B');
elseif s >= 70
disp('C');
elseif s >= 60
disp('D');
else
disp('F');
end
//ئةجنام
A