Find Jobs
Hire Freelancers

Calculate logarithmic scales

$30-250 USD

クローズ
投稿日: 約7年前

$30-250 USD

完了時にお支払い
I need a javascript algorithm to calculate the position of logrithmic vertical grid lines for an arbitrary number of cycles that don't necessary start at .1 or 1 or 100 etc. I have one currently that will calculate starting at those values, but have a need for a scale that, for instance, starts at .2 to 2000. I've attached a picture that shows the problem. Here is my current algorithm. [login to view URL] = [0.0,0.301,0.477,0.602,0.698,0.778,0.845,0.903,0.954,1.0]; [login to view URL] = function (min, max) { var aryLog = [login to view URL]; var numCycles = [login to view URL](min, max); var aryPercent = [0]; for (var maxLastCycle = 0, i = 0; i < numCycles; i++) { for (var j = 1; j < [login to view URL]; j++) { var val = (maxLastCycle + (aryLog[j] / numCycles)).toFixed(4); [login to view URL](parseFloat(val)); } maxLastCycle = aryPercent[aryPercent.length-1]; } aryPercent[aryPercent.length-1] = 1.0; return aryPercent; } Which for 0.1 to 1000 produces. [0,0.0753,0.1193,0.1505,0.1745,0.1945,0.2113,0.2258,0.2385,0.25,0.3253,0.3692,0.4005,0.4245,0.4445,0.4613,0.4758,0.4885,0.5,0.5753,0.6193,0.6505,0.6745,0.6945,0.7112,0.7258,0.7385,0.75,0.8253,0.8693,0.9005,0.9245,0.9445,0.9612,0.9758,0.9885,1] The attached picture shows my grids over a tiff image of grid lines and they don't match, because the tiff image is calculated from 0.2 to 2.0. That is the problem.
プロジェクト ID: 13903077

プロジェクトについて

12個の提案
リモートプロジェクト
アクティブ 7年前

お金を稼ぎたいですか?

Freelancerで入札する利点

予算と期間を設定してください
仕事で報酬を得る
提案をご説明ください
登録して仕事に入札するのは無料です
この仕事に12人のフリーランサーが、平均$193 USDで入札しています
ユーザーアバター
Ok..So we need to make algorithm and JS fix so that grid can be divided in correct position like given image. looking forward to hear from you. Thanks
$166 USD 4日以内
5.0 (18 レビュー)
5.9
5.9
ユーザーアバター
A proposal has not yet been provided
$250 USD 5日以内
5.0 (34 レビュー)
6.1
6.1
ユーザーアバター
hi this is aymen from tunisia mathematics student and j.s programmer i read your project's description it seems like an ordinary task for me so we can discuss details over chat. best regards.
$250 USD 3日以内
5.0 (2 レビュー)
4.0
4.0
ユーザーアバター
Hi,dear. I am a senior software developer. I have just checked your project report, I am able to perform this task with my developer team. I am looking forward to your proposal...
$155 USD 1日以内
5.0 (2 レビュー)
2.0
2.0
ユーザーアバター
Hello Sir, We have gone through the details you have provided and we have already worked on a similar project before and can deliver as u have mentioned and would be pleased to work on this with you to deliver the results that you have expected and we have already worked on a similar project before and can deliver as u have mentioned We are sure you will not be disappointed if you give us this opportunity. Our team is experienced, creative & efficient enough to get your job done well. We have an impeccable record and all our clients enjoy working with us, we are sure that you will too, our prices are cheapest in market. [Removed for encouraging offsite communication which is against our Terms and Conditions.] for further discussion about the project I am ready to discuss with you with best Regards
$207 USD 6日以内
0.0 (0 レビュー)
0.0
0.0

クライアントについて

UNITED STATESのフラグ
Urbandale, United States
5.0
11
お支払い方法確認済み
メンバー登録日:4月 5, 2004

クライアント確認

ありがとうございます!無料クレジットを受け取るリンクをメールしました。
メールを送信中に問題が発生しました。もう一度お試しください。
登録ユーザー 投稿された仕事の合計
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
プレビューを読み込み中
位置情報へのアクセスが許可されました。
あなたのログインセッションの有効期限がきれ、ログアウトされました。もう一度ログインしてください。