Got Questions? Get Answers.
Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
how to generate a Bezier Curve

Subject: how to generate a Bezier Curve

From: dai

Date: 26 Feb, 2009 03:20:03

Message: 1 of 2

Hi, here is some points, I wish to generate a bezier curve for these points. Please help me to write a m.file for me. Thank you so much. The points are here:
x=[171 170 169 168 167 166 165 164 163 162 161 160 159 158 157 156 156 155 154 154 153 152 151 151 150 150 149 148 148 147 147 146 146 145 144 144 143 143 143 142 142 141 141 141 140 140 140 140 140 139 139 138 138 138 137 137 137 137 136 136 136 135 135 135 135 134 134 134 134 133 133 133 133 132 132 132 132 132 132 131 131 131 130 130 130 129 129 129 128 128 128 128 128 128 128 128 129 129 129 130 130 131 132 133 133 134 136 136 137 138 139 140 141 142 143 144 145 145 146 147 148 149 150 151 153 154 154 155 157 158 159 160 161 162 163 164 165 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 187 188 189 190 191 192 193 194 195 195 197 197];
y=[
141 141 142 142 142 142 143 143 143 144 144 145 145 146 147 148 149 149 150 151 152 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 191 193 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 227 228 229 229 231 232 233 233 234 234 234 234 234 234 234 234 234 234 234 235 234 235 235 235 234 234 234 234 234 233 233 232 232 232 231 231 231 230 230 229 229 229 228 228 227 227 226 225 225 224 224 223 223 222 221 221 220 219 218 218 216 216 215 215 214 214 213 213 212 212 211 211 211]

Subject: how to generate a Bezier Curve

From: Roger Stafford

Date: 26 Feb, 2009 05:55:03

Message: 2 of 2

"dai " <279711585@qq.com> wrote in message <go51p3$1mv$1@fred.mathworks.com>...
> Hi, here is some points, I wish to generate a bezier curve for these points. Please help me to write a m.file for me. Thank you so much. The points are here: .........

  I would advise you to go to the site

 http://en.wikipedia.org/wiki/B?zier_curve

and read it carefully. To pose a meaningful question about making a Bezier curve you need to determine what are to be your "control" points and what are to be the points the curves go through.

Roger Stafford

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us